MCPcopy Create free account
hub / github.com/git-bug/git-bug / New

Method New

cache/identity_subcache.go:69–71  ·  view source on GitHub ↗

New create a new identity The new identity is written in the repository (commit)

(name string, email string)

Source from the content-addressed store, hash-verified

67// New create a new identity
68// The new identity is written in the repository (commit)
69func (c *RepoCacheIdentity) New(name string, email string) (*IdentityCache, error) {
70 return c.NewRaw(name, email, "", "", nil, nil)
71}
72
73// NewFull create a new identity
74// The new identity is written in the repository (commit)

Callers

nothing calls this directly

Calls 1

NewRawMethod · 0.95

Tested by

no test coverage detected