MCPcopy
hub / github.com/GitGuardian/ggshield / _git_rev_parse

Function _git_rev_parse

ggshield/utils/git_shell.py:105–106  ·  view source on GitHub ↗
(option: str, wd: Path)

Source from the content-addressed store, hash-verified

103
104
105def _git_rev_parse(option: str, wd: Path) -> Optional[str]:
106 return _git_rev_parse_absolute(option=option, wd_absolute=wd.resolve())
107
108
109def get_new_branch_ci_commits(

Callers 4

is_git_dirFunction · 0.85
is_git_working_treeFunction · 0.85
get_git_rootFunction · 0.85
gitignoreFunction · 0.85

Calls 1

_git_rev_parse_absoluteFunction · 0.85

Tested by

no test coverage detected