From 71b7eb14010be0c7799b4d5394798c89e379891b Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 27 Sep 2020 00:54:14 +0200 Subject: repo: implement local/global/any config everywhere --- repository/repo.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'repository/repo.go') 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 -- cgit