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

1 line
5.4 KiB
JSON

{"nodes": [{"id": "$graphify-root$_scripts_recover_plan", "label": "recover-plan", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_scripts_recover_plan__entry", "label": "recover-plan script", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_scripts_recover_plan_check", "label": "check()", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L7", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_recover_plan_has_gitea_backup", "label": "has_gitea_backup()", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L21", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_recover_plan_has_state_backup", "label": "has_state_backup()", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L25", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_recover_plan_main", "label": "main()", "file_type": "code", "source_file": "scripts/recover-plan", "source_location": "L29", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_scripts_recover_plan", "target": "$graphify-root$_scripts_recover_plan__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_plan", "target": "$graphify-root$_scripts_recover_plan_check", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_plan", "target": "$graphify-root$_scripts_recover_plan_has_gitea_backup", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_plan", "target": "$graphify-root$_scripts_recover_plan_has_state_backup", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_plan", "target": "$graphify-root$_scripts_recover_plan_main", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L29", "weight": 1.0}, {"source": "$graphify-root$_scripts_recover_plan__entry", "target": "$graphify-root$_scripts_recover_plan_main", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L93", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_recover_plan_main", "target": "$graphify-root$_scripts_recover_plan_check", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/recover-plan", "source_location": "L78", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_scripts_recover_plan__entry", "source_file": "scripts/recover-plan", "source_location": "L2"}, {"language": "bash", "callee": "cd", "caller_nid": "$graphify-root$_scripts_recover_plan__entry", "source_file": "scripts/recover-plan", "source_location": "L4"}, {"language": "bash", "callee": "dirname", "caller_nid": "$graphify-root$_scripts_recover_plan__entry", "source_file": "scripts/recover-plan", "source_location": "L4"}, {"language": "bash", "callee": "pwd", "caller_nid": "$graphify-root$_scripts_recover_plan__entry", "source_file": "scripts/recover-plan", "source_location": "L4"}, {"language": "bash", "callee": "shift", "caller_nid": "$graphify-root$_scripts_recover_plan_check", "source_file": "scripts/recover-plan", "source_location": "L9"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_recover_plan_check", "source_file": "scripts/recover-plan", "source_location": "L11"}, {"language": "bash", "callee": "sed", "caller_nid": "$graphify-root$_scripts_recover_plan_check", "source_file": "scripts/recover-plan", "source_location": "L16"}, {"language": "bash", "callee": "rm", "caller_nid": "$graphify-root$_scripts_recover_plan_check", "source_file": "scripts/recover-plan", "source_location": "L18"}, {"language": "bash", "callee": "find", "caller_nid": "$graphify-root$_scripts_recover_plan_has_gitea_backup", "source_file": "scripts/recover-plan", "source_location": "L22"}, {"language": "bash", "callee": "grep", "caller_nid": "$graphify-root$_scripts_recover_plan_has_gitea_backup", "source_file": "scripts/recover-plan", "source_location": "L22"}, {"language": "bash", "callee": "find", "caller_nid": "$graphify-root$_scripts_recover_plan_has_state_backup", "source_file": "scripts/recover-plan", "source_location": "L26"}, {"language": "bash", "callee": "grep", "caller_nid": "$graphify-root$_scripts_recover_plan_has_state_backup", "source_file": "scripts/recover-plan", "source_location": "L26"}, {"language": "bash", "callee": "cat", "caller_nid": "$graphify-root$_scripts_recover_plan_main", "source_file": "scripts/recover-plan", "source_location": "L30"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_recover_plan_main", "source_file": "scripts/recover-plan", "source_location": "L77"}], "bash_sources": []}