enigma2  2.6
Namespaces | Functions | Variables
Directories.py File Reference

Namespaces

 Tools.Directories
 

Functions

def Tools.Directories.resolveFilename (scope, base="", path_prefix=None)
 
def Tools.Directories.pathExists (path)
 
def Tools.Directories.isMount (path)
 
def Tools.Directories.createDir (path, makeParents=False)
 
def Tools.Directories.removeDir (path)
 
def Tools.Directories.fileExists (f, mode='r')
 
def Tools.Directories.getRecordingFilename (basename, dirname=None)
 
def Tools.Directories.InitFallbackFiles ()
 
def Tools.Directories.crawlDirectory (directory, pattern)
 
def Tools.Directories.copyfile (src, dst)
 
def Tools.Directories.copytree (src, dst, symlinks=False)
 
def Tools.Directories.getSize (path, pattern=".*")
 
def Tools.Directories.prettySize (size)
 

Variables

bool Tools.Directories.have_chmod = True
 
bool Tools.Directories.have_utime = True
 
int Tools.Directories.SCOPE_TRANSPONDERDATA = 0
 
int Tools.Directories.SCOPE_SYSETC = 1
 
int Tools.Directories.SCOPE_FONTS = 2
 
int Tools.Directories.SCOPE_DATADIR = 3
 
int Tools.Directories.SCOPE_SKIN_IMAGE = 4
 
int Tools.Directories.SCOPE_USERETC = 5
 
int Tools.Directories.SCOPE_CONFIG = 6
 
int Tools.Directories.SCOPE_LANGUAGE = 7
 
int Tools.Directories.SCOPE_HDD = 8
 
int Tools.Directories.SCOPE_PLUGINS = 9
 
int Tools.Directories.SCOPE_MEDIA = 10
 
int Tools.Directories.SCOPE_PLAYLIST = 11
 
int Tools.Directories.SCOPE_CURRENT_SKIN = 12
 
int Tools.Directories.SCOPE_DEFAULTDIR = 13
 
int Tools.Directories.SCOPE_DEFAULTPARTITION = 14
 
int Tools.Directories.SCOPE_DEFAULTPARTITIONMOUNTDIR = 15
 
int Tools.Directories.SCOPE_METADIR = 16
 
int Tools.Directories.SCOPE_CURRENT_PLUGIN = 17
 
int Tools.Directories.SCOPE_RCU_FIRMWARE = 18
 
int Tools.Directories.SCOPE_SKIN = SCOPE_DATADIR
 
int Tools.Directories.PATH_CREATE = 0
 
int Tools.Directories.PATH_DONTCREATE = 1
 
int Tools.Directories.PATH_FALLBACK = 2
 
dictionary Tools.Directories.defaultPaths
 
int Tools.Directories.FILE_COPY = 0
 
int Tools.Directories.FILE_MOVE = 1
 
int Tools.Directories.PATH_COPY = 2
 
int Tools.Directories.PATH_MOVE = 3
 
dictionary Tools.Directories.fallbackPaths