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

Method get_callees

rust-core/src/codegraph/graph.rs:103–108  ·  view source on GitHub ↗

获取函数调用的函数

(&self, function_id: &Uuid)

Source from the content-addressed store, hash-verified

101
102 /// 获取函数调用的函数
103 pub fn get_callees(&self, function_id: &Uuid) -> Vec<&CallRelation> {
104 self.call_relations
105 .iter()
106 .filter(|rel| rel.caller_id == *function_id)
107 .collect()
108 }
109
110 /// 获取调用链(递归)
111 pub fn get_call_chain(&self, function_id: &Uuid, max_depth: usize) -> Vec<Vec<Uuid>> {

Callers 15

execute_calleesFunction · 0.45
get_function_calleesMethod · 0.45
find_calleesMethod · 0.45
_dfs_cycle_detectionMethod · 0.45
find_root_functionsMethod · 0.45
expand_call_chainFunction · 0.45

Calls

no outgoing calls