MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / commit

Method commit

scripts/ci-scope_test.py:74–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 def git(*args):
73 return subprocess.check_output(['git', '-C', tmp, *args]).decode().strip()
74 def commit():
75 git('add', '-A')
76 git('-c', 'user.name=Test', '-c', 'user.email=test@example.invalid', 'commit', '-qm', 'fixture')
77 return git('rev-parse', 'HEAD')
78 git('init', '-q')
79 root = Path(tmp)
80 (root / 'web').mkdir()

Callers

nothing calls this directly

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected