MCPcopy Create free account
hub / github.com/douglance/devsql / insert_symbol

Function insert_symbol

crates/devsql/src/providers/symbols.rs:179–195  ·  view source on GitHub ↗
(stmt: &mut Statement<'_>, row: &SymbolRow)

Source from the content-addressed store, hash-verified

177}
178
179fn insert_symbol(stmt: &mut Statement<'_>, row: &SymbolRow) -> Result<()> {
180 stmt.execute(params![
181 row.id,
182 row.file_path,
183 row.name,
184 row.kind,
185 row.line_start,
186 row.line_end,
187 row.signature,
188 row.visibility,
189 row.parent_id,
190 row.parameters,
191 row.return_type,
192 row.language,
193 ])?;
194 Ok(())
195}
196
197#[cfg(feature = "tree-sitter-ast")]
198fn extract_symbols_from_tree(

Callers 2

load_with_tree_sitterFunction · 0.85
load_with_regexFunction · 0.85

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected