MCPcopy Index your code
hub / github.com/git-bug/git-bug / ClearUserIdentity

Function ClearUserIdentity

entities/identity/identity_user.go:18–20  ·  view source on GitHub ↗
(repo repository.RepoConfig)

Source from the content-addressed store, hash-verified

16}
17
18func ClearUserIdentity(repo repository.RepoConfig) error {
19 return repo.LocalConfig().RemoveAll(identityConfigKey)
20}
21
22// GetUserIdentity read the current user identity, set with a git config entry
23func GetUserIdentity(repo repository.Repo) (*Identity, error) {

Callers 1

ClearUserIdentityMethod · 0.92

Calls 2

RemoveAllMethod · 0.65
LocalConfigMethod · 0.65

Tested by

no test coverage detected