]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove unused request strategy chunk iter types
authorMatt Joiner <anacrolix@gmail.com>
Thu, 8 Feb 2024 08:51:57 +0000 (19:51 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 8 Feb 2024 08:51:57 +0000 (19:51 +1100)
request-strategy/piece.go

index b858dfff45f502e0bacc8df44c21f1477d7a52f6..8483da45d7026583fde5475b164d7dbd2ccdc507 100644 (file)
@@ -1,11 +1,5 @@
 package requestStrategy
 
-type ChunksIterFunc func(func(ChunkIndex))
-
-type ChunksIter interface {
-       Iter(func(ci ChunkIndex))
-}
-
 type Piece interface {
        Request() bool
        NumPendingChunks() int