|
|
__init__(self,
config_type=None)
Initialize the instance, create directories and file names. |
source code
|
|
|
|
|
|
|
|
boolean
|
|
|
|
|
dictionary
|
|
|
boolean
|
|
dictionary
|
|
dictionary
|
|
|
boolean
|
|
list of string
|
|
list of int
|
|
string
|
|
dictionary
|
|
int
|
|
dictionary
|
|
boolean
|
|
|
|
|
string
|
|
|
|
|
|
|
|
dictionary
|
TorrentDataBuffer
any torrent data read/written, keys are the torrent info hashes,
values are the torrent data (dictionary)
|
string
|
cache_dir
the directory to save cache files in
|
dictionary
|
config
the current configuration variables
|
string
|
config_type
the extension to include in the saved files' names
|
string
|
configfile
the file name for the saved configuration data
|
string
|
dir_datacache
the directory to save stopped torrent's state in
|
string
|
dir_piececache
the directory to store temporary piece files in
|
string
|
dir_torrentcache
the directory to save torrent files in
|
string
|
home_dir
the user's home directory
|
string
|
statefile
the file name for the saved state
|