Wraps a set of more robust file operations. More...
Static Public Member Functions | |
_.Library.Status | CopyDir (_.Library.String pSource, _.Library.String pDest, _.Library.Boolean pDeleteFirst, _.Library.Boolean pVerbose) |
Wraps a set of more robust file operations. | |
_.Library.Status | CopyFile (_.Library.String pSource, _.Library.String pDest, _.Library.Boolean pDeleteBeforeCopy) |
Copy a file pSource to file pDest. More... | |
_.Library.Status | CreateDirectoryChain (_.Library.String pName) |
Create this directory and all the parent directories if they do not exist. More... | |
_.Library.Boolean | Exists (pFilename, pReturn) |
Check if file exists but case insensitive. | |
Wraps a set of more robust file operations.
|
static |
Copy a file pSource to file pDest.
Parameter pDeleteBeforeCopy may be used to specify that if the target file already exists then it should be deleted before being overwritten with the source file. The default is 0 or false.
|
static |
Create this directory and all the parent directories if they do not exist.
This differs from
<method>CreateDirectory</method> as that method only creates one new directory where as this will create the entire chain of directories. Returns true if it succeeds and false otherwise. Pass return by reference to obtain the low level return value in case of errors