(path string)
| 505 | } |
| 506 | |
| 507 | func expandPath(path string) string { |
| 508 | res, _ := homedir.Expand(path) |
| 509 | return res |
| 510 | } |
| 511 | |
| 512 | func sshAgent(publicKeyPath string) (ssh.AuthMethod, func() error) { |
| 513 | if sshAgentConn, err := net.Dial("unix", os.Getenv("SSH_AUTH_SOCK")); err == nil { |
no outgoing calls
no test coverage detected