generate
Builds the .torrent as a bencode Entry tree, ready for Bencode.encode or for adding custom keys before encoding. Mirrors create_torrent::generate.
Throws
if neither a full v1 nor a full v2 hash set is present, or a v2 file-tree path conflict is found.