Fix mentions of TorrentDataOpener
This commit is contained in:
parent
fe9839f818
commit
89ea4c0e29
|
@ -459,7 +459,6 @@ func TestSeedAfterDownloading(t *testing.T) {
|
|||
defer leecher.Close()
|
||||
testutil.ExportStatusWriter(leecher, "l")
|
||||
cfg.Seed = false
|
||||
// cfg.TorrentDataOpener = nil
|
||||
cfg.DataDir, err = ioutil.TempDir("", "")
|
||||
require.NoError(t, err)
|
||||
defer os.RemoveAll(cfg.DataDir)
|
||||
|
|
|
@ -27,7 +27,7 @@ var DefaultHTTPUserAgent = "Go-Torrent/1.0"
|
|||
|
||||
// Override Client defaults.
|
||||
type Config struct {
|
||||
// Store torrent file data in this directory unless TorrentDataOpener is
|
||||
// Store torrent file data in this directory unless .DefaultStorage is
|
||||
// specified.
|
||||
DataDir string `long:"data-dir" description:"directory to store downloaded torrent data"`
|
||||
// The address to listen for new uTP and TCP bittorrent protocol
|
||||
|
|
Loading…
Reference in New Issue