MCPcopy Create free account
hub / github.com/belak/gitdir / RepoConfig

Struct RepoConfig

models/repo_config.go:5–15  ·  view source on GitHub ↗

RepoConfig represents the values under repos in the main admin config, any org configs, or any user configs.

Source from the content-addressed store, hash-verified

3// RepoConfig represents the values under repos in the main admin config, any
4// org configs, or any user configs.
5type 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.
18func NewRepoConfig() *RepoConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected