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

Method lastVersion

entities/identity/identity.go:419–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417}
418
419func (i *Identity) lastVersion() *version {
420 if len(i.versions) <= 0 {
421 panic("no version at all")
422 }
423
424 return i.versions[len(i.versions)-1]
425}
426
427// Id return the Identity identifier
428func (i *Identity) Id() entity.Id {

Callers 8

NameMethod · 0.95
EmailMethod · 0.95
LoginMethod · 0.95
AvatarUrlMethod · 0.95
KeysMethod · 0.95
LastModificationMethod · 0.95
SetMetadataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected