Pike v8.1 release 6

Method Protocols.Bittorrent.Generator()->add_directory_tree()


Method add_directory_tree

this_program add_directory_tree(string path, void|string dirbase)

Description

Add a directory tree to the torrent. The second argument is what the directory will be called in the torrent. This will call add_file on all non-directories in the tree.