Tools and libraries for parsing torrent files
Find a file
King_DuckZ d04b4d8274 Add a read_announce_list() to TorrentRead
announce-list is very annoyingly a list of lists. I don't
have any useful primitive to manage that case in TorrentRead,
so for now I've done a not-so-elegant implementation where I
step around the visitor, use my knowledge of the variant and
access the outer list directly through boost::get(). I'm not
necessarily convinced that this is bad since on the other hand
the solution consistent with the rest of the implementation
would involve searching for "/[[x]]/[[y]]" which has its own
overhead. I mean, variant contains a vector, I can access it
normally. Visitor is a convenience thing, I don't see why
parser's client code should be obliged to pretend the variant
cannot be accessed directly.
2025-04-07 02:39:35 +01:00
src Add a read_announce_list() to TorrentRead 2025-04-07 02:39:35 +01:00
subprojects Cleanup 2025-04-02 23:52:45 +01:00
.gitignore Hash verification works for torrents with a single file 2025-04-03 01:06:04 +01:00
COPYING Attach GPL3+ licence 2025-04-05 20:13:24 +01:00
meson.build Refactor higher level code into TorrentRead class 2025-04-07 01:01:52 +01:00