Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Graphify-Labs/graphify
/ _git
Function
_git
tests/test_detect.py:13–18 ·
view source on GitHub ↗
(repo: Path, *args: str)
Source
from the content-addressed store, hash-verified
11
12
13
def
_git(repo: Path, *args: str) -> None:
14
subprocess.run(
15
[
"git"
,
"-C"
, str(repo), *args],
16
check=True,
17
capture_output=True,
18
)
19
20
21
def
_make_git_dir(repo: Path) -> Path:
Callers
10
test_gitignore_keeps_tracked_file_but_drops_untracked_sibling
Function · 0.70
test_graphifyignore_still_excludes_git_tracked_file
Function · 0.70
test_tracked_gitignore_exemption_works_for_subdirectory_scan
Function · 0.70
test_ignored_predicate_keeps_git_tracked_ignored_file
Function · 0.70
test_extra_exclude_still_excludes_git_tracked_file
Function · 0.70
test_git_tracking_probe_failure_preserves_ignore_behavior
Function · 0.70
test_git_lsfiles_skipped_when_no_gitignore_contributes
Function · 0.70
test_real_git_repo_and_worktree_are_vcs_roots
Function · 0.70
_git_workspace_with_worktree
Function · 0.70
test_detect_keeps_worktree_whose_main_is_outside_root
Function · 0.70
Calls
1
run
Method · 0.65
Tested by
no test coverage detected