Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
systemfiles.pkg File Reference

Scol Standard Library - System files API. More...

Functions

 std_sfCmpExtension (filename, ext)
 Compare if a path has a given extension.
 std_sfConvertListPtoS (pFiles)
 Convert a list of read file references to a list of file references.
 std_sfConvertListPtoW (pFiles)
 Convert a list of read file references to a list of write file references.
 std_sfConvertListWtoP (wFiles)
 Convert a list of write file references to a list of read file references.
 std_sfConvertListWtoS (wFiles)
 Convert a list of write file references to a list of file references.
 std_sfGetExtension (path, with)
 Return the extension of a path name.
 std_sfGetFatherDirectory (rep, withSep)
 Return the father path directory in a path name.
 std_sfgetfilesinfolder (rep, out)
 std_sfGetFilesInFolder (rep)
 std_sfGetFirstPosSlash (s)
 Return the position of the first slash (/) in a path name.
 std_sfGetLastPosPoint (s)
 Return the position of the last point (.) in a path name.
 std_sfGetLastPosSlash (s)
 Return the position of the last slash (/) in a path name.
 std_sfGetPathFile (longfile, file)
 Get a file path and file name from a path.
 std_sfGetPathWithoutExtension (path)
 Return the path without the extension, if any.
 std_sfGetRootDirectory (rep, withSep)
 Return the root directory in a path name.
 std_sfGetTree (rep)
 Return the list of file names in some folders and its subfolders.
 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.
 std_sfPathFromRelativePath (relativePath, rootdir)
 Return the absolute path from a relative path.
 std_sfRelativePathFromPath (absolutePath, rootdir)
 Return the relative path from an absolute path.
 std_sfXor (pFile, wFile, szKey)
 To cipher/uncipher a file to another file by the XOR algorithm.

Detailed Description

Scol Standard Library - System files API.

Author
Scol team
Version
0.3

This API provides an high level method to easily manage file and path names

Dependancies :