1 line
7.9 KiB
JSON
1 line
7.9 KiB
JSON
{"nodes": [{"id": "$graphify-root$_gitea_scripts_with_vpn_sh", "label": "with-vpn.sh", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "label": "with-vpn.sh script", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_log", "label": "log()", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L14", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_vpn_is_up", "label": "vpn_is_up()", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L16", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "label": "start_vpn()", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L20", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "label": "stop_vpn()", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L51", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_gitea_scripts_with_vpn_cleanup", "label": "cleanup()", "file_type": "code", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L65", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_log", "relation": "defines", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_vpn_is_up", "relation": "defines", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "relation": "defines", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "relation": "defines", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L51", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh", "target": "$graphify-root$_gitea_scripts_with_vpn_cleanup", "relation": "defines", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L65", "weight": 1.0}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "target": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L74", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "target": "$graphify-root$_gitea_scripts_with_vpn_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L76", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "target": "$graphify-root$_gitea_scripts_with_vpn_vpn_is_up", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L21", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "target": "$graphify-root$_gitea_scripts_with_vpn_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L22", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "target": "$graphify-root$_gitea_scripts_with_vpn_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L52", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_cleanup", "target": "$graphify-root$_gitea_scripts_with_vpn_log", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L67", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_gitea_scripts_with_vpn_cleanup", "target": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "relation": "calls", "confidence": "EXTRACTED", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L68", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L3"}, {"language": "bash", "callee": "trap", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L72"}, {"language": "bash", "callee": "eval", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L77"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_sh__entry", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L81"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_log", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L14"}, {"language": "bash", "callee": "ip", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_vpn_is_up", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L17"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L23"}, {"language": "bash", "callee": "openvpn", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L27"}, {"language": "bash", "callee": "sleep", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L43"}, {"language": "bash", "callee": "tail", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L47"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_start_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L47"}, {"language": "bash", "callee": "kill", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L56"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L56"}, {"language": "bash", "callee": "sleep", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L57"}, {"language": "bash", "callee": "rm", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L59"}, {"language": "bash", "callee": "pkill", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_stop_vpn", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L61"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_gitea_scripts_with_vpn_cleanup", "source_file": ".gitea/scripts/with-vpn.sh", "source_location": "L69"}], "bash_sources": []} |