MCPcopy Create free account
hub / github.com/CodeBendKit/codeseek / _get_function_by_id

Method _get_function_by_id

rust-core/src/codegraph/parser.rs:246–255  ·  view source on GitHub ↗

根据ID获取函数信息

(&self, function_id: &Uuid)

Source from the content-addressed store, hash-verified

244
245 /// 根据ID获取函数信息
246 fn _get_function_by_id(&self, function_id: &Uuid) -> Option<&FunctionInfo> {
247 for (_file_path, functions) in &self.file_functions {
248 for function in functions {
249 if function.id == *function_id {
250 return Some(function);
251 }
252 }
253 }
254 None
255 }
256
257
258

Callers 2

_find_caller_functionMethod · 0.80
_update_snippet_indexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected