// Query: callees_of_function
// Returns: (symbol_name, file_path) tuples for functions that are called by another function
// Tests: CALLS edge resolution in the reverse direction
// Comparison: order-insensitive set equality on (symbol_name, file_path)
// === CODENEXUS ===
MATCH (r:CodeRelation)
WHERE r.type = 'CALLS' AND r.project = '__PID__'
WITH r
MATCH (callee:Function)
WHERE callee.id = r.target
RETURN callee.name AS symbol_name, callee.filePath AS file_path
ORDER BY symbol_name, file_path
LIMIT 200
// === GITNEXUS ===
MATCH (caller:Function)-[r:CodeRelation]->(callee:Function)
WHERE r.type = 'CALLS'
RETURN callee.name AS symbol_name, callee.filePath AS file_path
ORDER BY symbol_name, file_path
LIMIT 200