[缓存]实现按照目录刷新缓存

This commit is contained in:
GoEdgeLab
2020-12-23 21:28:50 +08:00
parent 868ab9ed1b
commit 3c6ad87cb9
8 changed files with 66 additions and 7 deletions

View File

@@ -235,7 +235,7 @@ func TestFileStorage_Purge(t *testing.T) {
t.Log(time.Since(before).Seconds()*1000, "ms")
}()
err = storage.Purge([]string{"a", "b1", "c"})
err = storage.Purge([]string{"a", "b1", "c"}, "")
if err != nil {
t.Fatal(err)
}