torrent/metainfo
Eng Zer Jun 841a702e34
test: use `T.TempDir` to create temporary test directory (#718)
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-02-02 18:26:46 +11:00
..
testdata metainfo URL list can be a string or list 2017-06-16 17:07:30 +10:00
README Rename torrent package to metainfo; expose MetaInfo["info"] so it can be used on its own 2014-06-28 19:40:39 +10:00
announcelist.go Make tracker order in Metainfo.Magnet deterministic 2021-03-25 09:51:49 +11:00
fileinfo.go add BEP references to documentation of the metadata fields 2020-05-03 14:06:24 +10:00
fuzz_test.go [fuzz] Put +build tags to support go1.16 as well 2021-11-01 11:26:58 +11:00
hash.go gofumpt 2021-11-08 14:47:01 +11:00
info.go Add "no name" handling and storage.NewFileOpts 2021-09-02 10:22:32 +10:00
info_test.go goimports -local 2019-08-21 20:58:40 +10:00
magnet.go Add deprecated ParseMagnetURI 2020-12-21 10:16:08 +11:00
magnet_test.go gofumpt 2021-11-08 14:47:01 +11:00
metainfo.go Comment that BEP 19 is WebSeeds 2021-11-12 10:45:47 +11:00
metainfo_test.go test: use `T.TempDir` to create temporary test directory (#718) 2022-02-02 18:26:46 +11:00
nodes.go gofumpt 2021-11-08 14:47:01 +11:00
nodes_test.go goimports -local 2019-08-21 20:58:40 +10:00
piece.go metainfo: Remove reflection dependency for `Piece.Hash()` (#661) 2021-09-18 11:35:21 +10:00
piece_key.go Change pieceIndex to peer_protocol.Integer 2018-07-12 09:15:15 +10:00
pieces.go Expose metainfo.GeneratePieces 2020-05-13 14:33:26 +10:00
urllist.go gofumpt 2021-11-08 14:47:01 +11:00

README

A library for manipulating ".torrent" files.