# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
BaseNoExt: get only the name without ext.
CheckOutsideDir: Check if 'filenameNew' is in the same directory as 'filenameOrig'.
CheckOutsideRoot: Check if 'filePath' is outside the current scope of the 'rootDir' (must be a DIRECTORY).
DirKeepSame: returns 'same' which corresponds to the equal parts of the two files and 'diff' which corresponds to the change between the two, the 'f1' argument must be the shortest path.
ExtEnsure: Ensuring that the filename has the desired extension.
FileMatch: If a pattern contained in "patterns" match, true is returned.
FileInfos: As remind for available file information.
GenFileName: Generate a randomized file name.
Retrieve current realpath and options filename.
GetCurrentDir: Get current directory.
GetSimpleFileType: scan first bytes to detect type of file.
IsDirEmpty:.
IsDirOrSymlinkDir: File is a directory or a symlinked directory ? Need: os.FileInfo - > os.Lstat.
removePathBefore: remove directories before or after the chosen name.
sizeToBytes: convert uint32 size to bytes representation (32bits) "000001f1".
splitPath: make a slice from a string path.
TempFileName generates a temporary filename for use in testing or whatever.
TempMake: Make temporary directory.
TempRemove: Remove directory recursively.
ReducePath: Reduce path length by preserving count element from the end.
# Constants
No description provided by the author
Preserve full filename, just adding extension.
Remove all after the first dot.
# Type aliases
EEOptions: options for 'ExtEnsure' function.