All returns a copy of all the key/value pairs for the current git config.
()
| 45 | |
| 46 | // All returns a copy of all the key/value pairs for the current git config. |
| 47 | func (e *delayedEnvironment) All() map[string][]string { |
| 48 | e.Load() |
| 49 | return e.env.All() |
| 50 | } |
| 51 | |
| 52 | // Load reads and parses the .gitconfig by calling ReadGitConfig. It |
| 53 | // also sets values on the configuration instance `g.config`. |