mergeConfig is a helper to easily support RepoConfig.AnyConfig() from two separate local and global Config
(local ConfigRead, global ConfigRead)
| 72 | // mergeConfig is a helper to easily support RepoConfig.AnyConfig() |
| 73 | // from two separate local and global Config |
| 74 | func mergeConfig(local ConfigRead, global ConfigRead) *mergedConfig { |
| 75 | return &mergedConfig{ |
| 76 | local: local, |
| 77 | global: global, |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | var _ ConfigRead = &mergedConfig{} |
| 82 |
no outgoing calls