diff options
author | Michael Muré <batolettre@gmail.com> | 2019-06-19 18:11:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 18:11:31 +0200 |
commit | 89c6732354ba4efd7c36c253fc5d02f0b6c7a7a4 (patch) | |
tree | 1d31091fa66d11a56bcbb9697bcefc2c9ab8951c /repository/mock_repo.go | |
parent | 777ccb9c68e10bdd9b8a4d33449795dd6e52f768 (diff) | |
parent | acfd8ffdd7b2e019168467810a817a0b6ea084e6 (diff) | |
download | git-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.go | 1 |
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) { |