Classes | |
struct | Stat |
Functions | |
string | getCWD () |
Get the current working directory. | |
string | getHomeDir () |
void | makeDir (string path) |
vector< string > | getDirNames (string dirPath) |
bool | isRegular (string p) |
bool | isDir (string p) |
bool | isSymbolicLink (string p) |
string | nameOf (string filePath) |
Extract the name part of a file path. | |
string | suffixOf (string filePath) |
Extract the suffix (or file type) from the file name. |
|
Get the current working directory. Always as an absolute path, and always with each segment delimited by slashes. Definition at line 41 of file file.C. Referenced by Archon::Utilities::Uri::Uri(). |
|
Extract the name part of a file path. The name part is defined as the portion of the path following the last slash '/' or the whole path if it contains no slashes.
Definition at line 164 of file file.C. Referenced by Archon::Utilities::Image::Image(), Archon::Utilities::Image::load(), Archon::Utilities::Image::save(), and suffixOf(). |
|
Extract the suffix (or file type) from the file name. The suffix is defied as the portion of a file path following the last dot of the name part. If the name part does not contain a dot, the suffix is the empty string.
Definition at line 170 of file file.C. References nameOf(). |