]> Sergey Matveev's repositories - btrtrc.git/commit
Basic support for serializing v2 torrent file (#968)
authorMivik <54128043+Mivik@users.noreply.github.com>
Mon, 26 Aug 2024 09:44:45 +0000 (17:44 +0800)
committerGitHub <noreply@github.com>
Mon, 26 Aug 2024 09:44:45 +0000 (19:44 +1000)
commit1b6a6f72b02ba00fcef5e09695db14a755331398
tree57b60c33686d987f38c9b899162260553028c2b7
parentf4711825e84e3c24fa96d127098ed5933235029d
Basic support for serializing v2 torrent file (#968)

* Support marshalling FileTree

* Omit Pieces in torrent info if empty

Otherwise some BitTorrent client (e.g. libttorrent) will not be able to
parse v2 torrent file.
metainfo/file-tree.go
metainfo/info.go