MCPcopy Create free account
hub / github.com/belak/gitdir / newAdminGitSignature

Function newAdminGitSignature

internal/git/utils.go:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func newAdminGitSignature() *object.Signature {
11 return &object.Signature{
12 Name: "root",
13 Email: "root@localhost",
14 When: time.Now(),
15 }
16}
17
18func dirExists(fs billy.Filesystem, path string) bool {
19 info, err := fs.Stat(path)

Callers 1

CommitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected