]> Sergey Matveev's repositories - btrtrc.git/commitdiff
gorond
authorMatt Joiner <anacrolix@gmail.com>
Wed, 13 Aug 2025 01:57:03 +0000 (11:57 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 13 Aug 2025 01:57:03 +0000 (11:57 +1000)
cmd/torrent/main.go
config.go
mmap-span/mmap-span.go
storage/file-piece.go
storage/file-torrent-io.go
storage/wrappers.go

index 7e452ad6e268fd35535d323a453a5d2f40866339..087a0aa2e4b4b3a1ef46b286ee1ba31104340aa5 100644 (file)
@@ -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() {
index 12fa54cdd832e2288e5c12e89f2edd590695dd1f..3424d7bc037af10a48e036e5dc179afa545f4800 100644 (file)
--- 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"
index caa9a1b6536ecf1fc27bde6793d662ce186089a0..91cc6b269bc79322b62de5b83632b1ff8a2bbfae 100644 (file)
@@ -7,6 +7,7 @@ import (
        "sync"
 
        "github.com/anacrolix/missinggo/v2/panicif"
+
        "github.com/anacrolix/torrent/segments"
 )
 
index 53f4af86c57ce84e5ddc8e94df5b4333e24bc8a1..080b3b643adbb5cdb4456f2f4ae05dc867792bc6 100644 (file)
@@ -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"
 )
index 1c7120e4218c166a9d699423ba95a06e3d7080bb..2c2b1b63bd89521e31be029bd966934da1d901ca 100644 (file)
@@ -6,6 +6,7 @@ import (
        "io/fs"
 
        "github.com/anacrolix/missinggo/v2/panicif"
+
        "github.com/anacrolix/torrent/segments"
 )
 
index 841f5367474c844bbc4454b83086bf7ea879a36c..6d7ee64f3bfb7b10c73e556c3f4342367fb1dcea 100644 (file)
@@ -7,6 +7,7 @@ import (
        "os"
 
        g "github.com/anacrolix/generics"
+
        "github.com/anacrolix/torrent/metainfo"
 )