| 27 | } |
| 28 | |
| 29 | std::string |
| 30 | CurrentPath () |
| 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 | |
| 40 | bool |
| 41 | Remove (std::string const& filename) |