| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Protocols
Protocols.Bittorrent
Protocols.Bittorrent.Generator

# 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.