| 1087 | } |
| 1088 | |
| 1089 | PathId PlatformFileSystem::getChild(PathId id, std::string_view name, |
| 1090 | SymbolTable *symbolTable) { |
| 1091 | if (!id) return BadPathId; |
| 1092 | |
| 1093 | std::filesystem::path filepath = toPath(id); |
| 1094 | if (filepath.empty()) return BadPathId; |
| 1095 | |
| 1096 | return toPathId((filepath / name).string(), symbolTable); |
| 1097 | } |
| 1098 | |
| 1099 | PathId PlatformFileSystem::getSibling(PathId id, std::string_view name, |
| 1100 | SymbolTable *symbolTable) { |
no outgoing calls