File system utilities. More...
Functions | |
| CONCEPT_REQUIRES (std::is_convertible< system::tag_t, system::posix >{}) bool exists_(string const &file_path) | |
Does file file_path exist? More... | |
| std::pair< string, string > | split_extension (string const &file_path) |
| Splits extension from file path -> (path_without_extension, extension) | |
| std::pair< string, string > | split_dir (string const &file_path) |
| Splits directory from the file path -> (directory, file_name) | |
|
std::tuple< string, string, string > | split_path (string const &file_path) |
| Splits file path -> (directory, file_base_name, extension) | |
| bool | binary_identical (string const &file_name0, string const &file_name1, mpi::comm const &comm) |
| Returns true if both files are bitwise identical. | |
File system utilities.
| hm3::fs::CONCEPT_REQUIRES | ( | std::is_convertible< system::tag_t, system::posix >{} | ) | const |
Does file file_path exist?
Removes the file file_path if it exists.