| 51 | type KeyRewriter func(serverURL, username string) (plugin.ID, error) |
| 52 | |
| 53 | type credentialHelperStore struct { |
| 54 | client.ProgramFunc |
| 55 | plugin.Logger |
| 56 | rewriter KeyRewriter |
| 57 | } |
| 58 | |
| 59 | // DefaultKeyRewriter can be used to remove the "https://", "http://" prefix |
| 60 | // and any trailing forward-slash "/". Additionally it will replace colons ":" |
nothing calls this directly
no outgoing calls
no test coverage detected