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
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) {
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) {
import (
"fmt"
+
pp "github.com/anacrolix/torrent/peer_protocol"
)