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

Function NewIdentityExcerpt

cache/identity_excerpt.go:29–36  ·  view source on GitHub ↗
(i *IdentityCache)

Source from the content-addressed store, hash-verified

27}
28
29func NewIdentityExcerpt(i *IdentityCache) *IdentityExcerpt {
30 return &IdentityExcerpt{
31 id: i.Id(),
32 Name: i.Name(),
33 Login: i.Login(),
34 ImmutableMetadata: i.ImmutableMetadata(),
35 }
36}
37
38func (i *IdentityExcerpt) setId(id entity.Id) {
39 i.id = id

Callers

nothing calls this directly

Calls 4

ImmutableMetadataMethod · 0.80
IdMethod · 0.65
NameMethod · 0.65
LoginMethod · 0.65

Tested by

no test coverage detected