]> Sergey Matveev's repositories - btrtrc.git/commitdiff
gorond
authorMatt Joiner <anacrolix@gmail.com>
Thu, 24 Apr 2025 13:08:59 +0000 (23:08 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 24 Apr 2025 13:08:59 +0000 (23:08 +1000)
conn-stats.go
issue97_test.go
torrent-piece-request-order.go
types/types.go

index 394ebfdf5dab759eff1cdbd26b7b3b31209ceba5..c574a4d048e501caa458e6a926f6ed8a635dd226 100644 (file)
@@ -1,8 +1,9 @@
 package torrent
 
 import (
-       pp "github.com/anacrolix/torrent/peer_protocol"
        "io"
+
+       pp "github.com/anacrolix/torrent/peer_protocol"
 )
 
 // Various connection-level metrics. At the Torrent level these are aggregates. Chunks are messages
index 72fc34287af3b5772fcad329cc90d88a6d22a784..8453fad1cdc48efa7cf6a872c88d2cf9f4e6fb2b 100644 (file)
@@ -1,13 +1,13 @@
 package torrent
 
 import (
-       "github.com/anacrolix/torrent/metainfo"
-       "github.com/anacrolix/torrent/storage"
        "testing"
 
        "github.com/stretchr/testify/require"
 
        "github.com/anacrolix/torrent/internal/testutil"
+       "github.com/anacrolix/torrent/metainfo"
+       "github.com/anacrolix/torrent/storage"
 )
 
 func TestHashPieceAfterStorageClosed(t *testing.T) {
index 02044f916fe2c53310c3b6279b4ffa726380b511..ac2b8cc1b4953253495650649ebcd01147388173 100644 (file)
@@ -2,9 +2,9 @@ package torrent
 
 import (
        g "github.com/anacrolix/generics"
-       "github.com/anacrolix/torrent/storage"
 
        request_strategy "github.com/anacrolix/torrent/request-strategy"
+       "github.com/anacrolix/torrent/storage"
 )
 
 func (t *Torrent) updatePieceRequestOrderPiece(pieceIndex int) {
index 63806705f501d1b31b572c486c68e87d83a06995..977f1f551a42f1cb52cd0a6eb622dfeff8b4c56a 100644 (file)
@@ -4,6 +4,7 @@ package types
 
 import (
        "fmt"
+
        pp "github.com/anacrolix/torrent/peer_protocol"
 )