diff --git a/codex/manifest.nim b/codex/manifest.nim index 09d8624f..3cd9219e 100644 --- a/codex/manifest.nim +++ b/codex/manifest.nim @@ -1,5 +1,4 @@ import ./manifest/coders import ./manifest/manifest -import ./manifest/indexingstrategy -export manifest, coders, indexingstrategy +export manifest, coders diff --git a/codex/manifest/manifest.nim b/codex/manifest/manifest.nim index 101d5181..607479c5 100644 --- a/codex/manifest/manifest.nim +++ b/codex/manifest/manifest.nim @@ -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: