mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-02-19 16:24:32 +00:00
cleanup unused imports
This commit is contained in:
parent
599ff2f741
commit
faccf890d8
@ -12,7 +12,6 @@ import std/sequtils
|
||||
import pkg/chronos
|
||||
import pkg/chronicles
|
||||
import pkg/libp2p
|
||||
import pkg/libp2p/errors
|
||||
|
||||
import ../stores/blockstore
|
||||
import ../blocktype as bt
|
||||
|
@ -20,8 +20,6 @@ export blocktype, libp2p
|
||||
type
|
||||
BlockStore* = ref object of RootObj
|
||||
|
||||
{.push locks:"unknown".}
|
||||
|
||||
method getBlock*(
|
||||
b: BlockStore,
|
||||
cid: Cid): Future[?!Block] {.base.} =
|
||||
@ -46,8 +44,6 @@ method delBlock*(
|
||||
|
||||
doAssert(false, "Not implemented!")
|
||||
|
||||
{.pop.}
|
||||
|
||||
method hasBlock*(s: BlockStore, cid: Cid): bool {.base.} =
|
||||
## Check if the block exists in the blockstore
|
||||
##
|
||||
|
@ -96,8 +96,6 @@ method delBlock*(
|
||||
|
||||
return true
|
||||
|
||||
{.pop.}
|
||||
|
||||
method hasBlock*(self: FSStore, cid: Cid): bool =
|
||||
## Check if the block exists in the blockstore
|
||||
##
|
||||
|
@ -12,7 +12,6 @@
|
||||
import pkg/chronicles
|
||||
import pkg/chronos
|
||||
import pkg/libp2p
|
||||
import pkg/libp2p/errors
|
||||
|
||||
import ../blocktype as bt
|
||||
import ../utils/asyncheapqueue
|
||||
|
@ -5,7 +5,6 @@ import pkg/stew/byteutils
|
||||
import pkg/asynctest
|
||||
import pkg/chronos
|
||||
import pkg/libp2p
|
||||
import pkg/libp2p/errors
|
||||
|
||||
import pkg/dagger/rng
|
||||
import pkg/dagger/blockexchange
|
||||
|
@ -5,8 +5,6 @@ import pkg/asynctest
|
||||
import pkg/chronos
|
||||
import pkg/libp2p
|
||||
import pkg/libp2p/errors
|
||||
import questionable
|
||||
import questionable/results
|
||||
import pkg/protobuf_serialization
|
||||
|
||||
import pkg/dagger/rng
|
||||
|
@ -1,10 +1,5 @@
|
||||
import pkg/libp2p/varint
|
||||
|
||||
import pkg/dagger/blocktype
|
||||
|
||||
import pkg/questionable
|
||||
import pkg/questionable/results
|
||||
|
||||
import ./helpers/nodeutils
|
||||
import ./helpers/randomchunker
|
||||
|
||||
|
@ -2,7 +2,6 @@ import pkg/chronos
|
||||
import pkg/asynctest
|
||||
import pkg/libp2p
|
||||
import pkg/stew/byteutils
|
||||
import pkg/questionable
|
||||
import pkg/questionable/results
|
||||
import pkg/dagger/stores/memorystore
|
||||
import pkg/dagger/chunker
|
||||
|
@ -7,7 +7,6 @@ import pkg/stew/byteutils
|
||||
|
||||
import pkg/nitro
|
||||
import pkg/libp2p
|
||||
import pkg/libp2p/errors
|
||||
|
||||
import pkg/dagger/stores
|
||||
import pkg/dagger/blockexchange
|
||||
|
Loading…
x
Reference in New Issue
Block a user