Skip to content

Commit

Permalink
Update InfoDownloader struct comment to reflect its purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Apr 6, 2024
1 parent e40ee74 commit a96eed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/infodownloader/infodownloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "fmt"

const blockSize = 16 * 1024

// InfoDownloader downloads all blocks of a piece from a peer.
// InfoDownloader downloads metadata of a torrent from a single peer.
type InfoDownloader struct {
Peer Peer
Bytes []byte
Expand Down

0 comments on commit a96eed9

Please sign in to comment.