bread/graphify-out/cache/ast/v0.9.32/fd89453b8f708d522667008fc29d6314014b9ece188836f585e8c863c8b0d4a0.json
Breadway 96639516b1
All checks were successful
dev release / build (push) Successful in 1m33s
can't be bothered writing a commit message
2026-08-03 09:37:15 +08:00

1 line
No EOL
16 KiB
JSON

{"nodes": [{"id": "$graphify-root$_bread_cli_src_hooks_shell_rs", "label": "hooks_shell.rs", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L1"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "label": "TargetShell", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L52"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_parse", "label": ".parse()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L62"}, {"id": "result", "label": "Result", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-cli/src/hooks_shell.rs"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "label": ".detect_from_env()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L78"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "label": "hooks_dir()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L96"}, {"id": "pathbuf", "label": "PathBuf", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-cli/src/hooks_shell.rs"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "label": "install_shell()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L114"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-cli/src/hooks_shell.rs"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-cli/src/hooks_shell.rs"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "label": "write_hook_file()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L164"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_parse_accepts_known_shells", "label": "parse_accepts_known_shells()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L431"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_parse_rejects_unknown_shell", "label": "parse_rejects_unknown_shell()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L438"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_detect_from_env_reads_shell_basename", "label": "detect_from_env_reads_shell_basename()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L444"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_hook_scripts_reference_bread_emit_not_bread_emit_cli", "label": "hook_scripts_reference_bread_emit_not_bread_emit_cli()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L462"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_hook_scripts_background_every_emit_call", "label": "hook_scripts_background_every_emit_call()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L472"}, {"id": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "label": "join_line_continuations()", "file_type": "code", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L494"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/bread-cli/src/hooks_shell.rs"}], "edges": [{"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "anyhow", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L44", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "fs", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L45", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "pathbuf", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L46", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_parse", "relation": "method", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L62", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_parse", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L62", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_parse", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L62", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "relation": "method", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L78", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L96", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "target": "pathbuf", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L96", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L114", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L114", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L114", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L114", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L164", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "target": "pathbuf", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L164", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "target": "result", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L164", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "super", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L428", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_parse_accepts_known_shells", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L431", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_parse_rejects_unknown_shell", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L438", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_detect_from_env_reads_shell_basename", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L444", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_hook_scripts_reference_bread_emit_not_bread_emit_cli", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L462", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_hook_scripts_background_every_emit_call", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L472", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_rs", "target": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L494", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L494", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L494", "weight": 1.0, "context": "generic_arg"}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_parse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L116", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L117", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L120", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "target": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L125", "weight": 1.0}, {"source": "$graphify-root$_bread_cli_src_hooks_shell_hook_scripts_background_every_emit_call", "target": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L480", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "callee": "unwrap_or_default", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L82"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "callee": "file_name", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L82"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "callee": "to_string_lossy", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L84"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_targetshell_detect_from_env", "callee": "as_str", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L86"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L98"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L98"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L101"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L101"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_hooks_dir", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L101"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "callee": "map_err", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L121"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L124"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_install_shell", "callee": "join", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L127"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "callee": "exists", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L165"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_write_hook_file", "callee": "map_err", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L166"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "callee": "lines", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L497"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "callee": "trim_end", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L498"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "callee": "strip_suffix", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L499"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "callee": "push_str", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L500"}, {"caller_nid": "$graphify-root$_bread_cli_src_hooks_shell_join_line_continuations", "callee": "push_str", "is_member_call": true, "source_file": "bread-cli/src/hooks_shell.rs", "source_location": "L503"}]}