mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-23 19:31:53 +00:00
removed useless property
This commit is contained in:
parent
d5eaef89c3
commit
6a1546589a
@ -65,10 +65,6 @@ proc new*(
|
|||||||
method `size`*(self: StoreStream): int =
|
method `size`*(self: StoreStream): int =
|
||||||
bytes(self.manifest, self.pad).int
|
bytes(self.manifest, self.pad).int
|
||||||
|
|
||||||
proc `size=`*(self: StoreStream, size: int)
|
|
||||||
{.error: "Setting the size is forbidden".} =
|
|
||||||
discard
|
|
||||||
|
|
||||||
method atEof*(self: StoreStream): bool =
|
method atEof*(self: StoreStream): bool =
|
||||||
self.offset >= self.size
|
self.offset >= self.size
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user