MCPcopy Create free account
hub / github.com/ChappIO/git-backup / GithubConfig

Struct GithubConfig

github.go:16–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type GithubConfig struct {
17 JobName string `yaml:"job_name"`
18 AccessToken string `yaml:"access_token"`
19 URL string `yaml:"url,omitempty"`
20 Starred *bool `yaml:"starred,omitempty"`
21 OrgMember *bool `yaml:"org_member,omitempty"`
22 Collaborator *bool `yaml:"collaborator,omitempty"`
23 Owned *bool `yaml:"owned,omitempty"`
24 Exclude []string `yaml:"exclude,omitempty"`
25 Repositories []string `yaml:"repositories,omitempty"`
26 client *github.Client
27}
28
29func (c *GithubConfig) Test() error {
30 me, err := c.getMe()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected