| 76 | } |
| 77 | |
| 78 | tmp_dir::tmp_dir(std::string_view prefix) |
| 79 | : path(fs::temp_directory_path() / |
| 80 | unique_string(prefix.empty() ? "migraphx" : "migraphx-" + std::string{prefix})) |
| 81 | { |
| 82 | fs::create_directories(this->path); |
| 83 | } |
| 84 | |
| 85 | void tmp_dir::execute(std::string_view cmd, const std::vector<std::string>& args) const |
| 86 | { |
nothing calls this directly
no test coverage detected