aboutsummaryrefslogtreecommitdiffstats
path: root/repository/mock_repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-06-19 18:11:31 +0200
committerGitHub <noreply@github.com>2019-06-19 18:11:31 +0200
commit89c6732354ba4efd7c36c253fc5d02f0b6c7a7a4 (patch)
tree1d31091fa66d11a56bcbb9697bcefc2c9ab8951c /repository/mock_repo.go
parent777ccb9c68e10bdd9b8a4d33449795dd6e52f768 (diff)
parentacfd8ffdd7b2e019168467810a817a0b6ea084e6 (diff)
downloadgit-bug-89c6732354ba4efd7c36c253fc5d02f0b6c7a7a4.tar.gz
Merge pull request #156 from A-Hilaly/bridge-rm
Fix bridge rm command
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r--repository/mock_repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go
index 2dc4868e..23534b89 100644
--- a/repository/mock_repo.go
+++ b/repository/mock_repo.go
@@ -103,6 +103,7 @@ func (r *mockRepoForTest) ReadConfigString(key string) (string, error) {
return val, nil
}
+// RmConfigs remove all key/value pair matching the key prefix
func (r *mockRepoForTest) RmConfigs(keyPrefix string) error {
for key := range r.config {
if strings.HasPrefix(key, keyPrefix) {