Public Member Functions | |
def | __init__ |
def | setPurge |
def | synch |
Synch up two directory structures. | |
def | export |
Copy from source to dest. | |
def | md5sum |
Returns an md5 hash for file fname. | |
def | __copy |
def | __rename |
def | __checkDirs |
def | __compareTree |
Compare all files under sourceDir and destDir with md5. | |
def | __treeWalk |
Walk a tree, executing function() on every file. | |
def | __checkStat |
Check if source and directories exist, are writable, and the disks aren't full. | |
def | __makeReadOnly |
def | __statusParse |
def | __sumfile |
Public Attributes | |
transfer | |
Static Public Attributes | |
int | NO_ERROR = 0x0 |
int | DIR_NOT_WRITABLE = 0x1 |
int | NOT_EXTANT = 0x2 |
int | DISK_FULL = 0x10 |
int | DISK_FULL_LEVEL = 100 |
Private Attributes | |
__purgeFiles |
Definition at line 43 of file DataExport.py.
|
Definition at line 171 of file DataExport.py. |
|
Check if source and directories exist, are writable, and the disks aren't full.
Definition at line 251 of file DataExport.py. |
|
Compare all files under sourceDir and destDir with md5.
Definition at line 196 of file DataExport.py. |
|
Definition at line 140 of file DataExport.py. |
|
Definition at line 54 of file DataExport.py. |
|
Definition at line 270 of file DataExport.py. |
|
Definition at line 167 of file DataExport.py. |
|
Definition at line 278 of file DataExport.py. |
|
Returns an md5 hash for an object with read() method. Definition at line 288 of file DataExport.py. |
|
Walk a tree, executing function() on every file.
Definition at line 237 of file DataExport.py. |
|
Copy from source to dest. This routine will determine whether source is a file or a directory Definition at line 96 of file DataExport.py. |
|
Returns an md5 hash for file fname.
Definition at line 116 of file DataExport.py. |
|
Definition at line 60 of file DataExport.py. |
|
Synch up two directory structures. Synch only goes in one direction: source --> destination. Definition at line 68 of file DataExport.py. |
|
Definition at line 55 of file DataExport.py. |
|
Definition at line 47 of file DataExport.py. |
|
Definition at line 50 of file DataExport.py. |
|
Definition at line 52 of file DataExport.py. |
|
Definition at line 46 of file DataExport.py. |
|
Definition at line 48 of file DataExport.py. |
|
Definition at line 57 of file DataExport.py. |