MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / getChild

Method getChild

src/Common/PlatformFileSystem.cpp:1089–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087}
1088
1089PathId 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
1099PathId PlatformFileSystem::getSibling(PathId id, std::string_view name,
1100 SymbolTable *symbolTable) {

Callers 11

executeCompilationFunction · 0.80
parseCommandLineMethod · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
createFileList_Method · 0.80
addBuiltinClassesMethod · 0.80
createFileList_Method · 0.80
compileMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64