enigma2
2.6
|
Functions | |
def | resolveFilename (scope, base="", path_prefix=None) |
def | pathExists (path) |
def | isMount (path) |
def | createDir (path, makeParents=False) |
def | removeDir (path) |
def | fileExists (f, mode='r') |
def | getRecordingFilename (basename, dirname=None) |
def | InitFallbackFiles () |
def | crawlDirectory (directory, pattern) |
def | copyfile (src, dst) |
def | copytree (src, dst, symlinks=False) |
def | getSize (path, pattern=".*") |
def | prettySize (size) |
Variables | |
bool | have_chmod = True |
bool | have_utime = True |
int | SCOPE_TRANSPONDERDATA = 0 |
int | SCOPE_SYSETC = 1 |
int | SCOPE_FONTS = 2 |
int | SCOPE_DATADIR = 3 |
int | SCOPE_SKIN_IMAGE = 4 |
int | SCOPE_USERETC = 5 |
int | SCOPE_CONFIG = 6 |
int | SCOPE_LANGUAGE = 7 |
int | SCOPE_HDD = 8 |
int | SCOPE_PLUGINS = 9 |
int | SCOPE_MEDIA = 10 |
int | SCOPE_PLAYLIST = 11 |
int | SCOPE_CURRENT_SKIN = 12 |
int | SCOPE_DEFAULTDIR = 13 |
int | SCOPE_DEFAULTPARTITION = 14 |
int | SCOPE_DEFAULTPARTITIONMOUNTDIR = 15 |
int | SCOPE_METADIR = 16 |
int | SCOPE_CURRENT_PLUGIN = 17 |
int | SCOPE_RCU_FIRMWARE = 18 |
int | SCOPE_SKIN = SCOPE_DATADIR |
int | PATH_CREATE = 0 |
int | PATH_DONTCREATE = 1 |
int | PATH_FALLBACK = 2 |
dictionary | defaultPaths |
int | FILE_COPY = 0 |
int | FILE_MOVE = 1 |
int | PATH_COPY = 2 |
int | PATH_MOVE = 3 |
dictionary | fallbackPaths |
def Tools.Directories.copyfile | ( | src, | |
dst | |||
) |
def Tools.Directories.copytree | ( | src, | |
dst, | |||
symlinks = False |
|||
) |
def Tools.Directories.crawlDirectory | ( | directory, | |
pattern | |||
) |
def Tools.Directories.createDir | ( | path, | |
makeParents = False |
|||
) |
def Tools.Directories.fileExists | ( | f, | |
mode = 'r' |
|||
) |
def Tools.Directories.getRecordingFilename | ( | basename, | |
dirname = None |
|||
) |
def Tools.Directories.getSize | ( | path, | |
pattern = ".*" |
|||
) |
def Tools.Directories.InitFallbackFiles | ( | ) |
def Tools.Directories.isMount | ( | path | ) |
def Tools.Directories.pathExists | ( | path | ) |
def Tools.Directories.prettySize | ( | size | ) |
def Tools.Directories.removeDir | ( | path | ) |
def Tools.Directories.resolveFilename | ( | scope, | |
base = "" , |
|||
path_prefix = None |
|||
) |
dictionary Tools.Directories.defaultPaths |
dictionary Tools.Directories.fallbackPaths |
int Tools.Directories.FILE_COPY = 0 |
int Tools.Directories.FILE_MOVE = 1 |
bool Tools.Directories.have_chmod = True |
bool Tools.Directories.have_utime = True |
int Tools.Directories.PATH_COPY = 2 |
int Tools.Directories.PATH_CREATE = 0 |
int Tools.Directories.PATH_DONTCREATE = 1 |
int Tools.Directories.PATH_FALLBACK = 2 |
int Tools.Directories.PATH_MOVE = 3 |
int Tools.Directories.SCOPE_CONFIG = 6 |
int Tools.Directories.SCOPE_CURRENT_PLUGIN = 17 |
int Tools.Directories.SCOPE_CURRENT_SKIN = 12 |
int Tools.Directories.SCOPE_DATADIR = 3 |
int Tools.Directories.SCOPE_DEFAULTDIR = 13 |
int Tools.Directories.SCOPE_DEFAULTPARTITION = 14 |
int Tools.Directories.SCOPE_DEFAULTPARTITIONMOUNTDIR = 15 |
int Tools.Directories.SCOPE_FONTS = 2 |
int Tools.Directories.SCOPE_HDD = 8 |
int Tools.Directories.SCOPE_LANGUAGE = 7 |
int Tools.Directories.SCOPE_MEDIA = 10 |
int Tools.Directories.SCOPE_METADIR = 16 |
int Tools.Directories.SCOPE_PLAYLIST = 11 |
int Tools.Directories.SCOPE_PLUGINS = 9 |
int Tools.Directories.SCOPE_RCU_FIRMWARE = 18 |
int Tools.Directories.SCOPE_SKIN = SCOPE_DATADIR |
int Tools.Directories.SCOPE_SKIN_IMAGE = 4 |
int Tools.Directories.SCOPE_SYSETC = 1 |
int Tools.Directories.SCOPE_TRANSPONDERDATA = 0 |
int Tools.Directories.SCOPE_USERETC = 5 |