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

Function SLgetPackageFileContent

src/API/SLAPI.cpp:571–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569}
570
571FileContent* SLgetPackageFileContent(Package* module) {
572 if (!ModuleHasFirstFileContent(module)) return nullptr;
573 return const_cast<FileContent*>(module->getFileContents()[0]);
574}
575
576RawNodeId SLgetPackageRootNode(Package* module) {
577 if (!module || module->getNodeIds().empty()) return InvalidNodeId;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected