cgp_generic_utils.filesΒΆ
file objects and management functions
Classes
Directory(path) |
directory object that manipulates a directory on the file system |
File(path) |
file object that manipulates any kind of file on the file system |
JsonFile(path) |
file object that manipulate a .json file on the file system |
Path(path) |
path object that manipulates any kind of entity on the file system |
PklFile(path) |
file object that manipulate a .pkl file on the file system |
PyFile(path) |
file object that manipulates a .py file on the file system |
TxtFile(path) |
file object that manipulates a .txt file on the file system |
UiFile(path) |
file object that manipulates a .ui file on the file system |
Functions
createDirectory(path) |
create a directory on the file system |
createFile(path[, content]) |
create a file on the file system |
entity(path) |
a file/directory object from a path |
registerFileTypes(fileTypes) |
register file types to grant file management functions access to the file objects |