|
|
print_announcelist_details()
Print the configuration options for the announce list and deb
mirrors. |
source code
|
|
list of string
|
|
string
|
|
string
|
|
|
|
make_meta_file(file,
params={},
progress=<function <lambda> at 0x2b5519938f50>)
Create the torrent files from a Packages file. |
source code
|
|
|
|
|
long
|
|
dictionary
|
|
dictionary
|
getordering(file,
torrent_file='',
all=True)
Retrieve unique piece piece ordering information for the Packages
file. |
source code
|
|
dictionary
|
orderpieces(fs,
pieces,
lengths,
separate_all=1,
piece_ordering={},
num_pieces=0)
Order the pieces appropriately in the info dictionary. |
source code
|
|
(dictionary, dictionary)
|
getpieces(f,
encoding=None,
progress=<function <lambda> at 0x2b5519941320>,
separate_all=1,
sub_pieces={},
piece_ordering={},
piece_ordering_all={},
num_pieces=0,
num_all_pieces=0)
Extract the piece information from the Packages file. |
source code
|
|
(dictionary, dictionary,
dictionary, dictionary)
|
makeinfo(file,
piece_length,
encoding,
progress,
separate_all=1,
pieces_file='',
torrent_file='',
torrent_all_file='')
Open the file and pass it to the getpieces function. |
source code
|
|
list of (list of string,
string)
|
|
|
|
completedir(dir,
params={},
vc=<function <lambda> at 0x2b5519941578>,
fc=<function <lambda> at 0x2b55199415f0>)
Create a torrent for each file in a directory. |
source code
|
|