OPFS에 캐시된 썸네일을 모두 삭제하는 기능 추가

This commit is contained in:
static
2025-07-07 00:30:38 +09:00
parent 8fefbc1bcb
commit e4cce6b8a0
8 changed files with 91 additions and 39 deletions

View File

@@ -4,12 +4,11 @@
import { FullscreenDiv } from "$lib/components/atoms";
import { TopBar } from "$lib/components/molecules";
import type { FileCacheIndex } from "$lib/indexedDB";
import { getFileCacheIndex } from "$lib/modules/file";
import { getFileCacheIndex, deleteFileCache as doDeleteFileCache } from "$lib/modules/file";
import { getFileInfo, type FileInfo } from "$lib/modules/filesystem";
import { formatFileSize } from "$lib/modules/util";
import { masterKeyStore } from "$lib/stores";
import File from "./File.svelte";
import { deleteFileCache as doDeleteFileCache } from "./service";
interface FileCache {
index: FileCacheIndex;