28 #if defined(__GNUG__) && __GNUC__ < 10 && !defined(__clang__) && !defined(__INTEL_COMPILER)
29 #pragma GCC diagnostic push
30 #pragma GCC diagnostic ignored "-Wattributes"
35 #if defined(__GNUG__) && __GNUC__ < 10 && !defined(__clang__) && !defined(__INTEL_COMPILER)
36 #pragma GCC diagnostic pop
53 void KRATOS_API(KRATOS_CORE)
rename(
const std::string& rPathFrom,
const std::string& rPathTo);
83 static
std::
string CurrentWorkingDirectory();
92 static
std::
string JoinPaths(
const std::vector<
std::
string>& rPaths);
100 [[nodiscard]] static
std::vector<
std::filesystem::
path> ListDirectory(
const std::filesystem::
path& rPath);
107 static
void MPISafeCreateDirectories(
const std::filesystem::
path& rPath);
117 [[nodiscard]] static
std::filesystem::
path ResolveSymlinks(
const std::filesystem::
path& rPath);
Definition: kratos_filesystem.h:63
FilesystemExtensions()=delete
Default constructor.
FilesystemExtensions & operator=(FilesystemExtensions const &rOther)=delete
Assignment operator.
FilesystemExtensions(FilesystemExtensions const &rOther)=delete
Copy constructor.
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
string path
Definition: DEM_run_all_benchmarks_analysis.py:10
void rename(const std::string &rPathFrom, const std::string &rPathTo)
Definition: kratos_filesystem.cpp:69
std::string parent_path(const std::string &rPath)
Definition: kratos_filesystem.cpp:74
bool remove(const std::string &rPath)
Definition: kratos_filesystem.cpp:57
bool create_directory(const std::string &rPath)
Definition: kratos_filesystem.cpp:45
bool exists(const std::string &rPath)
Definition: kratos_filesystem.cpp:27
bool create_directories(const std::string &rPath)
Definition: kratos_filesystem.cpp:51
bool is_regular_file(const std::string &rPath)
Definition: kratos_filesystem.cpp:33
std::uintmax_t remove_all(const std::string &rPath)
Definition: kratos_filesystem.cpp:63
bool is_directory(const std::string &rPath)
Definition: kratos_filesystem.cpp:39
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Kratos::PeriodicInterfaceProcess Process operator(std::istream &rIStream, PeriodicInterfaceProcess &rThis)
input stream function
namespace KRATOS_DEPRECATED_MESSAGE("Please use std::filesystem directly") filesystem
Definition: kratos_filesystem.h:33
string filename
Definition: cube_mesher.py:766
tuple const
Definition: ode_solve.py:403
namespace
Definition: array_1d.h:793