mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-03-09 22:03:10 +00:00
misc
This commit is contained in:
parent
07f38097d6
commit
0b47e45e91
@ -1,5 +1,4 @@
|
||||
import ./manifest/coders
|
||||
import ./manifest/manifest
|
||||
import ./manifest/indexingstrategy
|
||||
|
||||
export manifest, coders, indexingstrategy
|
||||
export manifest, coders
|
||||
|
||||
@ -56,7 +56,7 @@ proc originalBlocksCount*(self: Manifest): int =
|
||||
proc blocksCount*(self: Manifest): int =
|
||||
divUp(self.datasetSize.int, self.blockSize.int)
|
||||
|
||||
proc numberOfSlots*(self: Manifest): int =
|
||||
proc numSlots*(self: Manifest): int =
|
||||
if not self.protected:
|
||||
0
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user