MCPcopy Create free account
hub / github.com/concensure/Semantic / insert_module_dependency

Method insert_module_dependency

storage/src/lib.rs:981–987  ·  view source on GitHub ↗
(&self, from_module: i64, to_module: i64)

Source from the content-addressed store, hash-verified

979 }
980
981 pub fn insert_module_dependency(&self, from_module: i64, to_module: i64) -> Result<()> {
982 self.conn.execute(
983 "INSERT INTO module_dependencies(from_module, to_module) VALUES(?1, ?2)",
984 params![from_module, to_module],
985 )?;
986 Ok(())
987 }
988
989 pub fn list_modules(&self) -> Result<Vec<ModuleRecord>> {
990 let mut stmt = self

Calls

no outgoing calls