|
Crombie Tools
|
#include <cstdlib>#include <cstring>#include <vector>#include <string>#include <dirent.h>#include <sys/stat.h>#include <libgen.h>#include "crombie/Types.h"#include "crombie/Misc.h"Go to the source code of this file.
Namespaces | |
| crombie | |
| This header file includes common functions that are used to interpret configuration files. | |
| crombie::FileSystem | |
Functions | |
| std::string | crombie::FileSystem::basename (const std::string &name) |
| bool | crombie::FileSystem::confirm_overwrite (const std::string &path) |
| If this would overwrite a directory that exists, ask for confirmation. More... | |
| std::string | crombie::FileSystem::dirname (const std::string &name) |
| bool | crombie::FileSystem::exists (const std::string &path) |
| Check if path exists (either directory or file) More... | |
| unsigned long | crombie::FileSystem::get_size (const std::string &name) |
| Get the size of a file. More... | |
| Types::strings | crombie::FileSystem::list (std::string directory) |
| The name of files inside of the directory. More... | |
| void | crombie::FileSystem::mkdirs (const std::string &path) |
| Create directories, recursively if needed. More... | |