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

Method Keys

entities/identity/identity.go:469–471  ·  view source on GitHub ↗

Keys return the last version of the valid keys

()

Source from the content-addressed store, hash-verified

467
468// Keys return the last version of the valid keys
469func (i *Identity) Keys() []*Key {
470 return i.lastVersion().keys
471}
472
473// SigningKey return the key that should be used to sign new messages. If no key is available, return nil.
474func (i *Identity) SigningKey(repo repository.RepoKeyring) (*Key, error) {

Callers 2

MutateMethod · 0.95
SigningKeyMethod · 0.95

Calls 1

lastVersionMethod · 0.95

Tested by

no test coverage detected