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