my-homelab-configs/graphify-out/cache/ast/v0.9.64-s4/a7133de9e2c456b746295f06c62...

1 line
4.0 KiB
JSON

{"nodes": [{"id": "$graphify-root$_scripts_recover_power", "label": "recover-power", "file_type": "code", "source_file": "scripts/recover-power", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_scripts_recover_power__entry", "label": "recover-power script", "file_type": "code", "source_file": "scripts/recover-power", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_scripts_recover_power_run_step", "label": "run_step()", "file_type": "code", "source_file": "scripts/recover-power", "source_location": "L11", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_recover_power_run_optional", "label": "run_optional()", "file_type": "code", "source_file": "scripts/recover-power", "source_location": "L23", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_scripts_recover_power", "target": "$graphify-root$_scripts_recover_power__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/recover-power", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_power", "target": "$graphify-root$_scripts_recover_power_run_step", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-power", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_power", "target": "$graphify-root$_scripts_recover_power_run_optional", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-power", "source_location": "L23", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_power__entry", "target": "$graphify-root$_scripts_recover_power_run_optional", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/recover-power", "source_location": "L40", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_recover_power_run_optional", "target": "$graphify-root$_scripts_recover_power_run_step", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/recover-power", "source_location": "L27", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L2"}, {"language": "bash", "callee": "cd", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L4"}, {"language": "bash", "callee": "dirname", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L4"}, {"language": "bash", "callee": "pwd", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L4"}, {"language": "bash", "callee": "cat", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L32"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_recover_power__entry", "source_file": "scripts/recover-power", "source_location": "L50"}, {"language": "bash", "callee": "shift", "caller_nid": "$graphify-root$_scripts_recover_power_run_step", "source_file": "scripts/recover-power", "source_location": "L13"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_recover_power_run_step", "source_file": "scripts/recover-power", "source_location": "L15"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_scripts_recover_power_run_step", "source_file": "scripts/recover-power", "source_location": "L18"}, {"language": "bash", "callee": "shift", "caller_nid": "$graphify-root$_scripts_recover_power_run_optional", "source_file": "scripts/recover-power", "source_location": "L25"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_recover_power_run_optional", "source_file": "scripts/recover-power", "source_location": "L28"}], "bash_sources": []}