将以往的caches.FileList修改为caches.SQLiteFileList

This commit is contained in:
刘祥超
2024-03-21 08:37:32 +08:00
parent 8f794be0c1
commit 206f6c8a5d
8 changed files with 103 additions and 103 deletions

View File

@@ -47,7 +47,7 @@ func TestFileStorage_Init(t *testing.T) {
time.Sleep(2 * time.Second)
storage.purgeLoop()
t.Log(storage.list.(*FileList).Stat(func(hash string) bool {
t.Log(storage.list.(*SQLiteFileList).Stat(func(hash string) bool {
return true
}))
}