()
| 161 | } |
| 162 | |
| 163 | func newEmptyStore() *CredentialStore { |
| 164 | return &CredentialStore{ |
| 165 | Version: credentialsVersion, |
| 166 | Credentials: map[string]*Credentials{}, |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | // Get returns the credential for the given server URL, or nil if none |
| 171 | // exists. URL is canonicalized (trailing slash + whitespace stripped) |
no outgoing calls