From 8b9d02fffc95fda31d0adcdd33580f15e2b327a1 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 13 Aug 2025 11:57:03 +1000 Subject: [PATCH] gorond --- cmd/torrent/main.go | 6 ++++-- config.go | 4 +++- mmap-span/mmap-span.go | 1 + storage/file-piece.go | 1 + storage/file-torrent-io.go | 1 + storage/wrappers.go | 1 + 6 files changed, 11 insertions(+), 3 deletions(-) diff --git a/cmd/torrent/main.go b/cmd/torrent/main.go index 7e452ad6..087a0aa2 100644 --- a/cmd/torrent/main.go +++ b/cmd/torrent/main.go @@ -14,11 +14,13 @@ import ( "github.com/anacrolix/envpprof" app "github.com/anacrolix/gostdapp" xprometheus "github.com/anacrolix/missinggo/v2/prometheus" - "github.com/anacrolix/torrent/bencode" - "github.com/anacrolix/torrent/version" + "github.com/davecgh/go-spew/spew" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" + + "github.com/anacrolix/torrent/bencode" + "github.com/anacrolix/torrent/version" ) func init() { diff --git a/config.go b/config.go index 12fa54cd..3424d7bc 100644 --- a/config.go +++ b/config.go @@ -12,11 +12,13 @@ import ( "github.com/anacrolix/dht/v2/krpc" "github.com/anacrolix/log" "github.com/anacrolix/missinggo/v2" - "github.com/anacrolix/torrent/metainfo" + "github.com/pion/webrtc/v4" "golang.org/x/time/rate" "github.com/anacrolix/torrent/iplist" + "github.com/anacrolix/torrent/metainfo" + "github.com/anacrolix/torrent/mse" "github.com/anacrolix/torrent/storage" "github.com/anacrolix/torrent/version" diff --git a/mmap-span/mmap-span.go b/mmap-span/mmap-span.go index caa9a1b6..91cc6b26 100644 --- a/mmap-span/mmap-span.go +++ b/mmap-span/mmap-span.go @@ -7,6 +7,7 @@ import ( "sync" "github.com/anacrolix/missinggo/v2/panicif" + "github.com/anacrolix/torrent/segments" ) diff --git a/storage/file-piece.go b/storage/file-piece.go index 53f4af86..080b3b64 100644 --- a/storage/file-piece.go +++ b/storage/file-piece.go @@ -12,6 +12,7 @@ import ( g "github.com/anacrolix/generics" "github.com/anacrolix/missinggo/v2/panicif" + "github.com/anacrolix/torrent/metainfo" "github.com/anacrolix/torrent/segments" ) diff --git a/storage/file-torrent-io.go b/storage/file-torrent-io.go index 1c7120e4..2c2b1b63 100644 --- a/storage/file-torrent-io.go +++ b/storage/file-torrent-io.go @@ -6,6 +6,7 @@ import ( "io/fs" "github.com/anacrolix/missinggo/v2/panicif" + "github.com/anacrolix/torrent/segments" ) diff --git a/storage/wrappers.go b/storage/wrappers.go index 841f5367..6d7ee64f 100644 --- a/storage/wrappers.go +++ b/storage/wrappers.go @@ -7,6 +7,7 @@ import ( "os" g "github.com/anacrolix/generics" + "github.com/anacrolix/torrent/metainfo" ) -- 2.51.0