Fix doc comment

This commit is contained in:
Matt Joiner 2018-07-15 12:56:28 +10:00
parent 5fb5010762
commit bd5ae2cb6d
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func NewFileWithCompletion(baseDir string, completion PieceCompletion) ClientImp
return newFileWithCustomPathMakerAndCompletion(baseDir, nil, completion)
}
// All Torrent data stored in subdirectorys by infohash
// File storage with data partitioned by infohash.
func NewFileByInfoHash(baseDir string) ClientImpl {
return NewFileWithCustomPathMaker(baseDir, infoHashPathMaker)
}