|
static int | chsize (FILE *fd, long length) |
| Changes file size. More...
|
|
static int | chsize64 (FILE *fd, long long length) |
|
static void | createEmpty (const std::string &path) |
| Creates new empty file. More...
|
|
static std::string | createUniqueName (const std::string &prefix, const std::string &ext) |
|
static void | deleteFile (const std::string &fileName) |
| Deletes an existing file. More...
|
|
static bool | doesExist (const std::string &path) |
| Checks if the given file already exists. More...
|
|
static std::string | getCurrentDirectory () |
| Returns current directory path. More...
|
|
static long | getNameMax (const std::string &path) |
| Returns the maximum number of bytes in the given filename. More...
|
|
static bool | isAbsolutePath (const std::string &path) |
| Checks if the given file path is an absolute one. More...
|
|
static void | moveFile (const std::string &existingFileName, const std::string &newFileName) |
| Moves an existing file. More...
|
|
static void | setFlags (int aFd, int aFlags) |
| Sets the given file's flags. More...
|
|
static void | setOFileToMax () |
| Sets the maximum number of open files per process to the maximum value. More...
|
|
static void | split (std::string const &fullFileName, std::string *fileName, std::string *extention) |
| Splits full file name into file name and extention. More...
|
|
An representation of file and directory pathnames.