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

Method newGraphModule

libchigraph/src/Context.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57GraphModule* Context::newGraphModule(const boost::filesystem::path& fullName) {
58 // create the module
59 GraphModule* mod = nullptr;
60 {
61 auto uMod = std::make_unique<GraphModule>(*this, fullName);
62
63 mod = uMod.get();
64 addModule(std::move(uMod));
65 }
66
67 return mod;
68}
69
70std::vector<std::string> Context::listModulesInWorkspace() const noexcept {
71 std::vector<std::string> moduleList;

Callers 8

JSONSerializer.cppFile · 0.80
mainFunction · 0.80
jsonToGraphModuleFunction · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected