Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
46
func
(c *Context) HasKeygen() bool {
47
_, err := c.findKeygen()
48
return
err == nil
49
}
50
51
func
(c *Context) GenerateSSHKey(keyName string, passphrase string) (*KeyPair, error) {
52
keygenExe, err := c.findKeygen()
Callers
1
Login
Function · 0.80
Calls
1
findKeygen
Method · 0.95
Tested by
no test coverage detected