RepoConfig represents the values under repos in the main admin config, any org configs, or any user configs.
| 3 | // RepoConfig represents the values under repos in the main admin config, any |
| 4 | // org configs, or any user configs. |
| 5 | type RepoConfig struct { |
| 6 | // Public allows any user of the service to access this repository for |
| 7 | // reading |
| 8 | Public bool |
| 9 | |
| 10 | // Any user or group who explicitly has write access |
| 11 | Write []string |
| 12 | |
| 13 | // Any user or group who explicitly has read access |
| 14 | Read []string |
| 15 | } |
| 16 | |
| 17 | // NewRepoConfig returns a blank RepoConfig. |
| 18 | func NewRepoConfig() *RepoConfig { |
nothing calls this directly
no outgoing calls
no test coverage detected