aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
blob: 88172f4ea9a3ef485e195cf5cfd8284f0388a3ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package config

type Config interface {
	Remote(name string) *RemoteConfig
	Remotes() []*RemoteConfig
	SetRemote(*RemoteConfig)
}

type RemoteConfig struct {
	Name  string
	URL   string
	Fetch RefSpec
}