Scol standard library package
0.3.1
Common and usefull functions for all Scol applications
|
Scol Standard Library - System files API. More...
Functions | |
std_sfCmpExtension (filename, ext) | |
Compare if a path has a given extension. More... | |
std_sfConvertListPtoS (pFiles) | |
Convert a list of read file references to a list of file references. More... | |
std_sfConvertListPtoW (pFiles) | |
Convert a list of read file references to a list of write file references. More... | |
std_sfConvertListWtoP (wFiles) | |
Convert a list of write file references to a list of read file references. More... | |
std_sfConvertListWtoS (wFiles) | |
Convert a list of write file references to a list of file references. More... | |
std_sfGetExtension (path, with) | |
Return the extension of a path name. More... | |
std_sfGetFatherDirectory (rep, withSep) | |
Return the father path directory in a path name. More... | |
std_sfgetfilesinfolder (rep, out) | |
std_sfGetFilesInFolder (rep) | |
std_sfGetFirstPosSlash (s) | |
Return the position of the first slash (/) in a path name. More... | |
std_sfGetLastPosPoint (s) | |
Return the position of the last point (.) in a path name. More... | |
std_sfGetLastPosSlash (s) | |
Return the position of the last slash (/) in a path name. More... | |
std_sfGetPathFile (longfile, file) | |
Get a file path and file name from a path. More... | |
std_sfGetPathWithoutExtension (path) | |
Return the path without the extension, if any. More... | |
std_sfGetRootDirectory (rep, withSep) | |
Return the root directory in a path name. More... | |
std_sfGetTree (rep) | |
Return the list of file names in some folders and its subfolders. More... | |
std_sfgettreecb (lrep, cb, n) | |
std_sfGetTreeCb (lrep, cb) | |
List all files and all subdirectories from a list of directories. For each directory, a function is called with the list of its files. More... | |
std_sfPathFromRelativePath (relativePath, rootdir) | |
Return the absolute path from a relative path. More... | |
std_sfRelativePathFromPath (absolutePath, rootdir) | |
Return the relative path from an absolute path. More... | |
std_sfXor (pFile, wFile, szKey) | |
To cipher/uncipher a file to another file by the XOR algorithm. More... | |
Scol Standard Library - System files API.
This API provides an high level method to easily manage file and path names
Dependancies :