Go to the source code of this file.
|
| | python.fileutil.retry_function_time (func, args, retryException, retryMaxTime=defaultRetryMaxTime, retryStartTime=defaultRetryMaxTime) |
| | python.fileutil.retry_file_access (func, args, retryException=OSError, retryMaxTime=defaultRetryMaxTime, retryStartTime=defaultRetryMaxTime) |
| | python.fileutil.get_access_type (filename) |
| | python.fileutil.exists (filename) |
| | python.fileutil.getsize (filename) |
| | python.fileutil.getmtime (filename) |
| | python.fileutil.listdir (filename) |
| | python.fileutil.stat (filename) |
| | python.fileutil.lstat (filename) |
| | python.fileutil.access (filename, mode) |
| | python.fileutil.remove (filename) |
| | python.fileutil.exists_suffix (filename, suffixRE) |
| | python.fileutil.exists_suffix_number (filename) |
| | python.fileutil.mode_string (filename) |
| | python.fileutil.mode_to_string (mode) |
|
| str | python.fileutil.__doc__ = """A set of file utilities that can be used for several file systems (local files, rfio, castor)""" |
| list | python.fileutil.__all__ = [ ] |
| float | python.fileutil.defaultRetryMaxTime = 1.0 |
| float | python.fileutil.defaultRetryStartTime = 0.1 |
| | python.fileutil.IO_LOCAL = AccessType('local' , r'(.*)' , r'\1' , os , os.path) |
| | python.fileutil.IO_RFIO = AccessType('rfio' , r'^rfio:' , r'rfio:' , rfio, rfio) |
| | python.fileutil.IO_CASTOR = AccessType('castor', r'^(?:rfio:)?/castor/', 'rfio:/castor/', rfio, rfio) |
| | python.fileutil.IO_XROOTD = AccessType('xrootd', r'^root:' , r'root:' , dummyaccess, dummyaccess ) |
| | python.fileutil.IO_LFN = AccessType('lfn' , r'^LFN:' , r'LFN:' , dummyaccess, dummyaccess ) |
| tuple | python.fileutil._accessTypes = ( IO_LFN, IO_XROOTD, IO_CASTOR, IO_RFIO, IO_LOCAL ) |