1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "label": "_git.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L1"}, {"id": "git_is_git_repo", "label": "is_git_repo()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L9"}, {"id": "git_have_git", "label": "have_git()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L14"}, {"id": "git_git_revision", "label": "git_revision()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L25"}, {"id": "git_rationale_1", "label": "Git utilities, adopted from mypy's git utilities (https://github.com/python/mypy", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L1"}, {"id": "git_rationale_10", "label": "Is the given directory version-controlled with git?", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L10"}, {"id": "git_rationale_15", "label": "Can we run the git executable?", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L15"}, {"id": "git_rationale_26", "label": "Get the SHA-1 of the HEAD of a git repository.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L26"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "target": "subprocess", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "target": "pathlib", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "target": "git_is_git_repo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "target": "git_have_git", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "target": "git_git_revision", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L25", "weight": 1.0}, {"source": "git_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pydantic_internal_git_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L1", "weight": 1.0}, {"source": "git_rationale_10", "target": "git_is_git_repo", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L10", "weight": 1.0}, {"source": "git_rationale_15", "target": "git_have_git", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L15", "weight": 1.0}, {"source": "git_rationale_26", "target": "git_git_revision", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L26", "weight": 1.0}], "raw_calls": [{"caller_nid": "git_is_git_repo", "callee": "exists", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L11"}, {"caller_nid": "git_is_git_repo", "callee": "joinpath", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L11"}, {"caller_nid": "git_have_git", "callee": "check_output", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L17"}, {"caller_nid": "git_git_revision", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L27"}, {"caller_nid": "git_git_revision", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L27"}, {"caller_nid": "git_git_revision", "callee": "check_output", "source_file": "backend/venv/lib/python3.12/site-packages/pydantic/_internal/_git.py", "source_location": "L27"}]} |