Module ConfigDir
source code
Manage configuration and cache files.
|
|
ConfigDir
Manage configuration and cache files.
|
string
|
DIRNAME = '.DebTorrent'
the directory name to use for storing config files
|
|
|
MASTER_CONFIG = '/etc/debtorrent'
|
Imports:
inifile.ini_write,
inifile.ini_read,
bencode.bencode,
bencode.bdecode,
types.IntType,
types.LongType,
types.StringType,
types.FloatType,
parseargs.defaultargs,
__init__.product_name,
__init__.version_short,
sys,
os,
time.time,
time.strftime,
binascii.b2a_hex,
binascii.a2b_hex
Simple file copy, all in RAM.
- Parameters:
oldpath (string) - the file name to copy from
newpath (string) - the file name to copy to
- Returns:
boolean
- whether the copy was successful
|