| 425 | } |
| 426 | |
| 427 | PathId PlatformFileSystem::getOutputDir(std::string_view dir, |
| 428 | SymbolTable *symbolTable) { |
| 429 | const std::filesystem::path dirpath(dir); |
| 430 | if (dir.empty() || !dirpath.is_absolute()) return BadPathId; |
| 431 | |
| 432 | PathId outputDirId = toPathId(dirpath.string(), symbolTable); |
| 433 | m_outputDir = toPath(outputDirId); |
| 434 | if (kEnableLogs) { |
| 435 | std::cerr << "getOutputDir: " << dir << " => " << PathIdPP(outputDirId) |
| 436 | << std::endl; |
| 437 | } |
| 438 | return outputDirId; |
| 439 | } |
| 440 | |
| 441 | PathId PlatformFileSystem::getPrecompiledDir(PathId programId, |
| 442 | SymbolTable *symbolTable) { |
no test coverage detected