| 241 | } |
| 242 | |
| 243 | void CompileOptions::temporary_path(DynamicString &abs, const char *suffix) |
| 244 | { |
| 245 | TempAllocator1024 ta; |
| 246 | DynamicString str(ta); |
| 247 | DynamicString prefix(ta); |
| 248 | prefix.from_guid(guid::new_guid()); |
| 249 | |
| 250 | _output_filesystem.absolute_path(str, CROWN_TEMP_DIRECTORY); |
| 251 | |
| 252 | path::join(abs, str.c_str(), prefix.c_str()); |
| 253 | abs += '.'; |
| 254 | abs += suffix; |
| 255 | } |
| 256 | |
| 257 | DeleteResult CompileOptions::delete_file(const char *path) |
| 258 | { |
no test coverage detected