MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / CurrentPath

Function CurrentPath

Src/Base/AMReX_FileSystem.cpp:29–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29std::string
30CurrentPath ()
31{
32 std::error_code ec;
33 auto path = std::filesystem::current_path(ec);
34 if (ec && amrex::Verbose() > 0) {
35 amrex::AllPrint() << "amrex::FileSystem::CurrentPath failed. " << ec.message() << '\n';
36 }
37 return path.string();
38}
39
40bool
41Remove (std::string const& filename)

Callers 1

InitializeMethod · 0.85

Calls 1

AllPrintClass · 0.85

Tested by

no test coverage detected