Versions in this module Expand all Collapse all v1 v1.1.0 Aug 22, 2024 Changes in this version + const GreetingFileContents + const GreetingFileName + var Greeting = Torrent + func CreateDummyTorrentData(dirName string) string + func ExportStatusWriter(sw StatusWriter, path string, t testing.TB) (release func()) + func GreetingMetaInfo() *metainfo.MetaInfo + func GreetingTestTorrent() (tempDir string, metaInfo *metainfo.MetaInfo) + type File struct + Data string + Name string + type StatusWriter interface + WriteStatus func(io.Writer) + type Torrent struct + Files []File + Name string + func (t *Torrent) GetFile(name string) *File + func (t *Torrent) Info(pieceLength int64) metainfo.Info + func (t *Torrent) IsDir() bool + func (t *Torrent) Metainfo(pieceLength int64) *metainfo.MetaInfo