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

Method removeDependency

libchigraph/include/chi/ChiModule.hpp:95–97  ·  view source on GitHub ↗

Remove a dependency Does not unload from context \param depName The name of the dependency to remove \return If one was removed

Source from the content-addressed store, hash-verified

93 /// \param depName The name of the dependency to remove
94 /// \return If one was removed
95 bool removeDependency(std::string depName) {
96 return mDependencies.erase(std::move(depName)) == 1;
97 }
98
99 /// Get the time that this module was last edited
100 /// \return The `std::time_t` at which it was last edited

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected