| 393 | } |
| 394 | |
| 395 | temp_directory::temp_directory(const fc::path& p) |
| 396 | : temp_file_base(p / fc::unique_path()) |
| 397 | { |
| 398 | if (fc::exists(*_path)) |
| 399 | { |
| 400 | FC_THROW( "Name collision: ${path}", ("path", _path->string()) ); |
| 401 | } |
| 402 | fc::create_directories(*_path); |
| 403 | } |
| 404 | |
| 405 | temp_directory::temp_directory(temp_directory&& other) |
| 406 | : temp_file_base(std::move(other._path)) |
nothing calls this directly
no test coverage detected