| 197 | if (upload_root_.empty()) { |
| 198 | upload_root_ = std::filesystem::temp_directory_path() / |
| 199 | ("audiocpp-server-" + std::to_string( |
| 200 | std::chrono::duration_cast<std::chrono::microseconds>( |
| 201 | std::chrono::system_clock::now().time_since_epoch()).count())); |
| 202 | std::filesystem::create_directories(upload_root_); |
| 203 | } |
| 204 | const auto id = next_upload_id_.fetch_add(1); |
no outgoing calls
no test coverage detected