1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "label": "mercurial.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L1"}, {"id": "mercurial_mercurial", "label": "Mercurial", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L21"}, {"id": "versioncontrol", "label": "VersionControl", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "mercurial_get_base_rev_args", "label": "get_base_rev_args()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L34"}, {"id": "mercurial_mercurial_fetch_new", "label": ".fetch_new()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L37"}, {"id": "mercurial_mercurial_switch", "label": ".switch()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L61"}, {"id": "mercurial_mercurial_update", "label": ".update()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L86"}, {"id": "mercurial_get_remote_url", "label": "get_remote_url()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L103"}, {"id": "mercurial_get_revision", "label": "get_revision()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L115"}, {"id": "mercurial_get_requirement_revision", "label": "get_requirement_revision()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L128"}, {"id": "mercurial_is_commit_id_equal", "label": "is_commit_id_equal()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L142"}, {"id": "mercurial_get_subdirectory", "label": "get_subdirectory()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L147"}, {"id": "mercurial_get_repository_root", "label": "get_repository_root()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L161"}, {"id": "mercurial_rationale_116", "label": "Return the repository-local changeset revision number, as an integer.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L116"}, {"id": "mercurial_rationale_129", "label": "Return the changeset identification hash, as a 40-character hexadecimal", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L129"}, {"id": "mercurial_rationale_143", "label": "Always assume the versions don't match", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L143"}, {"id": "mercurial_rationale_148", "label": "Return the path to Python project root, relative to the repo root. Retur", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L148"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "configparser", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "pip_internal_exceptions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "pip_internal_utils_misc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "pip_internal_utils_subprocess", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "pip_internal_utils_urls", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "pip_internal_vcs_versioncontrol", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_mercurial", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L21", "weight": 1.0}, {"source": "mercurial_mercurial", "target": "versioncontrol", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_base_rev_args", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L34", "weight": 1.0}, {"source": "mercurial_mercurial", "target": "mercurial_mercurial_fetch_new", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L37", "weight": 1.0}, {"source": "mercurial_mercurial", "target": "mercurial_mercurial_switch", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L61", "weight": 1.0}, {"source": "mercurial_mercurial", "target": "mercurial_mercurial_update", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L86", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_remote_url", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L103", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_revision", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L115", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_requirement_revision", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L128", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_is_commit_id_equal", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L142", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_subdirectory", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L147", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_internal_vcs_mercurial_py", "target": "mercurial_get_repository_root", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L161", "weight": 1.0}, {"source": "mercurial_rationale_116", "target": "mercurial_mercurial_get_revision", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L116", "weight": 1.0}, {"source": "mercurial_rationale_129", "target": "mercurial_mercurial_get_requirement_revision", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L129", "weight": 1.0}, {"source": "mercurial_rationale_143", "target": "mercurial_mercurial_is_commit_id_equal", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L143", "weight": 1.0}, {"source": "mercurial_rationale_148", "target": "mercurial_mercurial_get_subdirectory", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L148", "weight": 1.0}], "raw_calls": [{"caller_nid": "mercurial_mercurial_fetch_new", "callee": "to_display", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L40"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "info", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L41"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "display_path", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L45"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L55"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "make_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L55"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L56"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "make_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L57"}, {"caller_nid": "mercurial_mercurial_fetch_new", "callee": "to_args", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L57"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L69"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "RawConfigParser", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L70"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L73"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L76"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "set", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L77"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "open", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L78"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L79"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "warning", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L81"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "make_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L83"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "to_args", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L83"}, {"caller_nid": "mercurial_mercurial_switch", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L84"}, {"caller_nid": "mercurial_mercurial_update", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L96"}, {"caller_nid": "mercurial_mercurial_update", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L98"}, {"caller_nid": "mercurial_mercurial_update", "callee": "make_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L99"}, {"caller_nid": "mercurial_mercurial_update", "callee": "to_args", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L99"}, {"caller_nid": "mercurial_mercurial_update", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L100"}, {"caller_nid": "mercurial_get_remote_url", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L104"}, {"caller_nid": "mercurial_get_remote_url", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L104"}, {"caller_nid": "mercurial_get_remote_url", "callee": "_is_local_repository", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L110"}, {"caller_nid": "mercurial_get_remote_url", "callee": "path_to_url", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L111"}, {"caller_nid": "mercurial_get_remote_url", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L112"}, {"caller_nid": "mercurial_get_revision", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L119"}, {"caller_nid": "mercurial_get_revision", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L119"}, {"caller_nid": "mercurial_get_requirement_revision", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L133"}, {"caller_nid": "mercurial_get_requirement_revision", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L133"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L153"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L153"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "isabs", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L156"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "abspath", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L157"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L157"}, {"caller_nid": "mercurial_get_subdirectory", "callee": "find_path_to_project_root_from_repo_root", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L158"}, {"caller_nid": "mercurial_get_repository_root", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L162"}, {"caller_nid": "mercurial_get_repository_root", "callee": "run_command", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L166"}, {"caller_nid": "mercurial_get_repository_root", "callee": "debug", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L175"}, {"caller_nid": "mercurial_get_repository_root", "callee": "normpath", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L183"}, {"caller_nid": "mercurial_get_repository_root", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py", "source_location": "L183"}]} |