Functions | |
ustring | cwd () |
Get the current working directory. | |
void | move (const ustring &from, const ustring &to) |
Move a file on the filesystem. | |
bool | dirExists (const ustring &path) |
Check if a directory exists. | |
void | makeDir (const ustring &path) |
Create a directory. | |
void | removeDir (const ustring &path) |
Recursively remove a directory. |
ustring Utils::FS::cwd | ( | ) |
Get the current working directory.
bool Utils::FS::dirExists | ( | const ustring & | path | ) |
Check if a directory exists.
path | The path to the directory in question |
void Utils::FS::makeDir | ( | const ustring & | path | ) |
Create a directory.
path | The path of the new directory |
void Utils::FS::move | ( | const ustring & | from, | |
const ustring & | to | |||
) |
Move a file on the filesystem.
from | The original file path | |
to | The destination path |
void Utils::FS::removeDir | ( | const ustring & | path | ) |
Recursively remove a directory.
path | The directory's path |