MCPcopy Create free account
hub / github.com/chigraph/chigraph / addDependency

Method addDependency

libchigraph/src/ChiModule.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13Result ChiModule::addDependency(const boost::filesystem::path& newDepFullPath) {
14 Result res = context().loadModule(newDepFullPath);
15
16 if (res) { mDependencies.emplace(std::move(newDepFullPath)); }
17
18 return res;
19}
20} // namespace chi

Callers 4

JSONSerializer.cppFile · 0.80
mainFunction · 0.80
jsonToGraphModuleFunction · 0.80

Calls 1

loadModuleMethod · 0.80

Tested by

no test coverage detected