mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Vendor update goleveldb
There are number of changes which went in recently which should improve performance: https://github.com/syndtr/goleveldb/issues/226#issuecomment-477568827
This commit is contained in:
committed by
Oliver Sauder
parent
c75ef8546e
commit
bb66b2296d
+4
-1
@@ -147,7 +147,10 @@ func packFile(fd storage.FileDesc) uint64 {
|
||||
}
|
||||
|
||||
func unpackFile(x uint64) storage.FileDesc {
|
||||
return storage.FileDesc{storage.FileType(x) & storage.TypeAll, int64(x >> typeCount)}
|
||||
return storage.FileDesc{
|
||||
Type: storage.FileType(x) & storage.TypeAll,
|
||||
Num: int64(x >> typeCount),
|
||||
}
|
||||
}
|
||||
|
||||
type emulatedError struct {
|
||||
|
||||
Reference in New Issue
Block a user