MCPcopy Create free account
hub / github.com/cli/cli / commit

Method commit

git/client_test.go:1602–1606  ·  view source on GitHub ↗
(t *testing.T, message string)

Source from the content-addressed store, hash-verified

1600}
1601
1602func (r *testRepo) commit(t *testing.T, message string) string {
1603 t.Helper()
1604 r.run(t, "commit", "--quiet", "--allow-empty", "-m", message)
1605 return r.run(t, "rev-parse", "HEAD")
1606}
1607
1608func (r *testRepo) fileURL() string {
1609 return fileURL(r.dir)

Calls 2

runMethod · 0.95
HelperMethod · 0.65

Tested by

no test coverage detected