This migration exists to take a hosts section of the following structure: github.com: user: williammartin git_protocol: https editor: vim github.localhost: user: monalisa git_protocol: https oauth_token: xyz We want this to migrate to something like: github.com: user: williamma
| 69 | // in the config for oauth tokens that are stored insecurely. |
| 70 | |
| 71 | type MultiAccount struct { |
| 72 | // Allow injecting a transport layer in tests. |
| 73 | Transport http.RoundTripper |
| 74 | } |
| 75 | |
| 76 | func (m MultiAccount) PreVersion() string { |
| 77 | // It is expected that there is no version key since this migration |
nothing calls this directly
no outgoing calls
no test coverage detected