(agent *sshutil.Agent, subject string, opts ...sshutil.AgentOption)
| 143 | } |
| 144 | |
| 145 | func removeSSHKeys(agent *sshutil.Agent, subject string, opts ...sshutil.AgentOption) (bool, error) { |
| 146 | if subject != "" { |
| 147 | // Remove if comment == subject |
| 148 | return agent.RemoveKeys(subject, opts...) |
| 149 | } |
| 150 | return agent.RemoveAllKeys(opts...) |
| 151 | } |
no test coverage detected
searching dependent graphs…