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

Struct IdentityExcerpt

cache/identity_excerpt.go:21–27  ·  view source on GitHub ↗

IdentityExcerpt hold a subset of the identity values to be able to sort and filter identities efficiently without having to read and compile each raw identity.

Source from the content-addressed store, hash-verified

19// filter identities efficiently without having to read and compile each raw
20// identity.
21type IdentityExcerpt struct {
22 id entity.Id
23
24 Name string
25 Login string
26 ImmutableMetadata map[string]string
27}
28
29func NewIdentityExcerpt(i *IdentityCache) *IdentityExcerpt {
30 return &IdentityExcerpt{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected