Maven project CHFile
A CommandHelper extension that adds file access functions.
Not to be confused with the CHFiles extension alternative.
Functions
-
array chf_directory_list(directory) - Returns an array containing all files and directories in the given directory.
-
boolean chf_file_exists(path) - Returns whether the file or directory at the given path exists.
-
boolean chf_is_directory(path) Returns whether the file at the given path is a directory.
-
void chf_copy(fromPath, toPath, [allowOverwrite], [createRequiredDirs]) - Copies the file or directory (including contents) from the fromPath to the toPath.
-
void chf_delete(path, [allowRemoveDirContent]) - Deletes the file or directory at the given path.
-
void chf_create_file(path, [createRequiredDirs]) - Creates a file at the given path.
-
void chf_create_directory(path, [createRequiredDirs]) - Creates a directory at the given path.
-
void chf_write(path, content, [option]) - Writes the given content to the file at the given path.
-
void chf_write_gzip_binary(path, content, [overwrite]) - Gzips and writes the given byte array to the file at the given path.
-
void chf_write_binary(path, content, [overwrite]) - Writes the given byte array to the file at the given path.
Last Successful Artifacts
|