You've already forked torrent-client
mirror of
https://github.com/veggiedefender/torrent-client.git
synced 2025-11-06 09:29:16 +02:00
Remove PieceLength from Downloader struct
This commit is contained in:
@@ -13,10 +13,9 @@ type Peer struct {
|
||||
|
||||
// Downloader holds data required to download a torrent from a list of peers
|
||||
type Downloader struct {
|
||||
Peers []Peer
|
||||
InfoHash [20]byte
|
||||
PieceLength int
|
||||
Length int
|
||||
Peers []Peer
|
||||
InfoHash [20]byte
|
||||
Length int
|
||||
}
|
||||
|
||||
// Download downloads a torrent
|
||||
|
||||
Reference in New Issue
Block a user