Modema/System filesystem package¶
Library documentation for Modema/System filesystem package.
Workspaces:
Modema::FileSystem:{main}:
Modema::FileSystem:{main}:¶
Library documentation for Modema::FileSystem:{main}: workspace.
[fn] EvaluatePath(Data::String path)¶
Evaluate path content and replace dynamic variables.
[fn] FileCompare(Data::String path1, Data::String path2)¶
Compare file contents.
path1 : First file.
path2 : Second file.
@return: True if the two file’s content are same.
[fn] GetDirectoryFromPath(Data::String path)¶
Get directory name from path string.
path : Input path name.
@return: Directory of the full path.
[fn] GetExtensionFromPath(Data::String path)¶
Get file extension from path string.
path : Input path name.
@return: File extension of the full path or empty string at directories.
[fn] GetFilenameFromPath(Data::String path)¶
Get file name from path string.
path : Input path name.
@return: Filename of the full path.
[fn] GetFilesystemResource(Data::String type)¶
Get resource data for file names.
[fn] GetStemFromPath(Data::String path)¶
Get stem from path string.
path : Input path name.
@return: Stem of the full path or empty string at directories.
[fn] PathMerge(Data::String path1, Data::String path2)¶
Merge two paths.
path1 : First path fragment.
path2 : Second path fragment.
@return: Merged path.