#include <fetch.h>
|
static Path | of (const string &path) |
|
A Path represents a path.
◆ getDirectoryContents()
vector<Path> Path::getDirectoryContents |
( |
| ) |
|
|
inline |
- Returns
- a vector containing absolute paths to contents at the given path
◆ getFilename()
Path Path::getFilename |
( |
| ) |
|
|
inline |
- Returns
- the filename of the path.
◆ isDirectory()
bool Path::isDirectory |
( |
| ) |
|
|
inline |
- Returns
- exists and is a directory
◆ isExecutable()
bool Path::isExecutable |
( |
| ) |
|
|
inline |
- Returns
- exists and is a executable(or searchable)
◆ isRegularFile()
bool Path::isRegularFile |
( |
| ) |
|
|
inline |
- Returns
- exists and is a regular file
◆ of()
static Path Path::of |
( |
const string & |
path | ) |
|
|
inlinestatic |
- Returns
- Path object
- Parameters
-
◆ toString()
string Path::toString |
( |
| ) |
const |
|
inline |
- Returns
- readable reprsentation for dev.
The documentation for this class was generated from the following file: