|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <cerrno>#include <string>#include <vector>#include <sys/stat.h>#include <sys/types.h>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| namespace | ModuleBase |
Functions | |
| std::string | ModuleBase::absolute_path_for_log (const std::string &path) |
| Return an absolute path for logging, or the original path if getcwd fails. | |
| int | ModuleBase::make_directory (const std::string &path) |
| Create a single directory, portably. | |
| bool | ModuleBase::ensure_directory (const std::string &path) |
| Ensure a directory exists, creating it lazily if needed. | |