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

Method LastModificationLamports

entities/identity/identity.go:517–519  ·  view source on GitHub ↗

LastModificationLamports return the lamport times at which the last version of the identity became valid.

()

Source from the content-addressed store, hash-verified

515
516// LastModificationLamports return the lamport times at which the last version of the identity became valid.
517func (i *Identity) LastModificationLamports() map[string]lamport.Time {
518 return i.lastVersion().times
519}
520
521// IsProtected return true if the chain of git commits started to be signed.
522// If that's the case, only signed commit with a valid key for this identity can be added.

Callers

nothing calls this directly

Calls 1

lastVersionMethod · 0.95

Tested by

no test coverage detected