aboutsummaryrefslogtreecommitdiffstats
path: root/repository/config_mem.go
diff options
context:
space:
mode:
authordockercui <dockercui@aliyun.com>2024-04-24 10:47:28 +0800
committerdockercui <dockercui@aliyun.com>2024-04-24 10:47:28 +0800
commite256cdec58e50e25a3bca3223d425499d9e0d702 (patch)
tree72139c0be41db1cf174c083e4adfc6170ffa26f5 /repository/config_mem.go
parentc82881c0c72149902370a06ccdd0b784c192169e (diff)
downloadgit-bug-e256cdec58e50e25a3bca3223d425499d9e0d702.tar.gz
Fix some comments
Signed-off-by: dockercui <dockercui@aliyun.com>
Diffstat (limited to 'repository/config_mem.go')
-rw-r--r--repository/config_mem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/config_mem.go b/repository/config_mem.go
index 55b12fd7..d9126f39 100644
--- a/repository/config_mem.go
+++ b/repository/config_mem.go
@@ -79,7 +79,7 @@ func (mc *MemConfig) ReadTimestamp(key string) (time.Time, error) {
return time.Unix(int64(timestamp), 0), nil
}
-// RmConfigs remove all key/value pair matching the key prefix
+// RemoveAll remove all key/value pair matching the key prefix
func (mc *MemConfig) RemoveAll(keyPrefix string) error {
keyPrefix = normalizeKey(keyPrefix)
found := false