![]() |
XII Release 0.1.0
|
Classes | |
| struct | DirEntry |
Public Types | |
| enum class | Type { File , Directory } |
| using | EnumerateFunc = xiiDelegate<void(const xiiStringBuilder& path, Type type)> |
Public Member Functions | |
| xiiResult | AddDirectory (xiiStringView sPath, bool *out_pDirectoryExistsAlready=nullptr) |
| Adds the directory, and all files in it recursively. | |
| xiiResult | AddFile (xiiStringView sPath, const T &value, bool *out_pFileExistsAlready, T *out_pOldValue) |
| Adds a file. Creates directories if they do not exist. | |
| xiiResult | RemoveFile (xiiStringView sPath) |
| Removes a file. | |
| xiiResult | RemoveDirectory (xiiStringView sPath) |
| Removes a directory. Deletes any files & directories inside. | |
| xiiResult | MoveDirectory (xiiStringView sFromPath, xiiStringView sToPath) |
| Moves a directory. Any files & folders inside are moved with it. | |
| xiiResult | Enumerate (xiiStringView sPath, EnumerateFunc callbackFunc) |
| Enumerates the files & directories under the given path. | |
| xiiResult | GetType (xiiStringView sPath, Type &out_type) |
| On success, out_Type will contains the type of the object (file or folder). | |