| 26 | var _ IdentityWrapper = &lazyIdentity{} |
| 27 | |
| 28 | type lazyIdentity struct { |
| 29 | cache *cache.RepoCache |
| 30 | excerpt *cache.IdentityExcerpt |
| 31 | |
| 32 | mu sync.Mutex |
| 33 | id *cache.IdentityCache |
| 34 | } |
| 35 | |
| 36 | func NewLazyIdentity(cache *cache.RepoCache, excerpt *cache.IdentityExcerpt) *lazyIdentity { |
| 37 | return &lazyIdentity{ |
nothing calls this directly
no outgoing calls
no test coverage detected