aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
new file mode 100644
index 0000000..88172f4
--- /dev/null
+++ b/config/config.go
@@ -0,0 +1,13 @@
+package config
+
+type Config interface {
+ Remote(name string) *RemoteConfig
+ Remotes() []*RemoteConfig
+ SetRemote(*RemoteConfig)
+}
+
+type RemoteConfig struct {
+ Name string
+ URL string
+ Fetch RefSpec
+}