MCPcopy Index your code
hub / github.com/cli/cli / HasKeygen

Method HasKeygen

pkg/ssh/ssh_keys.go:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46func (c *Context) HasKeygen() bool {
47 _, err := c.findKeygen()
48 return err == nil
49}
50
51func (c *Context) GenerateSSHKey(keyName string, passphrase string) (*KeyPair, error) {
52 keygenExe, err := c.findKeygen()

Callers 1

LoginFunction · 0.80

Calls 1

findKeygenMethod · 0.95

Tested by

no test coverage detected