MCPcopy Create free account
hub / github.com/ClangBuiltLinux/tc-build / git_capture

Method git_capture

tc_build/source.py:129–130  ·  view source on GitHub ↗
(self, cmd: tc_build.utils.CmdList)

Source from the content-addressed store, hash-verified

127 )
128
129 def git_capture(self, cmd: tc_build.utils.CmdList) -> str:
130 return self.git(cmd, capture_output=True).stdout.strip()
131
132 def is_shallow(self) -> bool:
133 git_dir = self.git_capture(['rev-parse', '--git-dir'])

Callers 2

is_shallowMethod · 0.95
updateMethod · 0.95

Calls 1

gitMethod · 0.95

Tested by

no test coverage detected