New create a new identity The new identity is written in the repository (commit)
(name string, email string)
| 67 | // New create a new identity |
| 68 | // The new identity is written in the repository (commit) |
| 69 | func (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) |