aboutsummaryrefslogtreecommitdiffstats
path: root/repository/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/repo.go')
-rw-r--r--repository/repo.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/repository/repo.go b/repository/repo.go
index 6349007b..2eb27e82 100644
--- a/repository/repo.go
+++ b/repository/repo.go
@@ -32,6 +32,12 @@ type ClockedRepo interface {
type RepoConfig interface {
// LocalConfig give access to the repository scoped configuration
LocalConfig() Config
+
+ // GlobalConfig give access to the global scoped configuration
+ GlobalConfig() Config
+
+ // AnyConfig give access to a merged local/global configuration
+ AnyConfig() ConfigRead
}
// RepoKeyring give access to a user-wide storage for secrets