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

Function SLgetInstanceFileName

src/API/SLAPI.cpp:642–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642std::string SLgetInstanceFileName(ModuleInstance* instance) {
643 if (!instance) return "";
644 return std::string(FileSystem::getInstance()->toPath(
645 instance->getFileContent()->getFileId(instance->getNodeId())));
646}
647
648FileContent* SLgetInstanceFileContent(ModuleInstance* instance) {
649 if (!instance) return nullptr;

Callers 3

recurseInstanceFunction · 0.85
recurseInstanceFunction · 0.85
recurseInstanceFunction · 0.85

Calls 4

toPathMethod · 0.80
getFileIdMethod · 0.45
getFileContentMethod · 0.45
getNodeIdMethod · 0.45

Tested by

no test coverage detected