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

Method get_function_callees

rust-core/src/codegraph/repository.rs:181–187  ·  view source on GitHub ↗

获取函数调用的函数

(&self, function_id: &uuid::Uuid)

Source from the content-addressed store, hash-verified

179
180 /// 获取函数调用的函数
181 pub fn get_function_callees(&self, function_id: &uuid::Uuid) -> Vec<FunctionInfo> {
182 let call_graph = self.call_graph.read();
183 call_graph.get_callees(function_id)
184 .into_iter()
185 .map(|(func, _)| func.clone())
186 .collect()
187 }
188
189 /// 获取代码片段
190 pub fn get_snippet(&self, entity_id: &uuid::Uuid, entity_type: &str) -> Result<String, String> {

Callers

nothing calls this directly

Calls 1

get_calleesMethod · 0.45

Tested by

no test coverage detected