File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed
Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 55 "os"
66 "time"
77
8- "github .com/raklaptudirm /mtor/internal/build"
9- "github .com/raklaptudirm /mtor/pkg/file"
10- "github .com/raklaptudirm /mtor/pkg/torrent"
8+ "laptudirm .com/x /mtor/internal/build"
9+ "laptudirm .com/x /mtor/pkg/file"
10+ "laptudirm .com/x /mtor/pkg/torrent"
1111)
1212
1313func main () {
Original file line number Diff line number Diff line change 1- module github .com/raklaptudirm /mtor
1+ module laptudirm .com/x /mtor
22
3- go 1.17
3+ go 1.18
44
55require github.com/jackpal/bencode-go v1.0.0
Original file line number Diff line number Diff line change 11package build
22
3- import "github .com/raklaptudirm /mtor/internal/manager"
3+ import "laptudirm .com/x /mtor/internal/manager"
44
55var PieceManager = manager .New ()
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
2424 "time"
2525
2626 "github.com/jackpal/bencode-go"
27- "github .com/raklaptudirm /mtor/pkg/torrent"
27+ "laptudirm .com/x /mtor/pkg/torrent"
2828)
2929
3030// Port is the port the client is listening on.
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ import (
1818 "net"
1919 "time"
2020
21- "github .com/raklaptudirm /mtor/pkg/bitfield"
22- "github .com/raklaptudirm /mtor/pkg/message"
21+ "laptudirm .com/x /mtor/pkg/bitfield"
22+ "laptudirm .com/x /mtor/pkg/message"
2323)
2424
2525// Conn represents a p2p connection to a peer.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import (
1919 "fmt"
2020 "time"
2121
22- "github .com/raklaptudirm /mtor/pkg/peer"
22+ "laptudirm .com/x /mtor/pkg/peer"
2323)
2424
2525// download represents the state of a torrent thats being downloaded.
Original file line number Diff line number Diff line change 1414package torrent
1515
1616import (
17- "github .com/raklaptudirm /mtor/pkg/message"
18- "github .com/raklaptudirm /mtor/pkg/peer"
17+ "laptudirm .com/x /mtor/pkg/message"
18+ "laptudirm .com/x /mtor/pkg/peer"
1919)
2020
2121// piece represents a piece of a torrent that needs to be downloaded.
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
2121 "time"
2222
2323 "github.com/jackpal/bencode-go"
24- "github .com/raklaptudirm /mtor/pkg/peer"
24+ "laptudirm .com/x /mtor/pkg/peer"
2525)
2626
2727// Torrent represents the data required to fetch peers and download a torrent
You can’t perform that action at this time.
0 commit comments