ITADN

fix: root dir will erasured when disableAsyncCache set

#250Pull Requestlinfaxin 创建于 2025-07-31已合并
L
linfaxincommented
```typescript import { IndexedDB } from '@zenfs/dom'; import { resolveMountConfig, fs } from '@zenfs/core'; const mountConfig = await resolveMountConfig({ backend: IndexedDB, storeName: dbStoreName, disableAsyncCache: true, }); fs.mount(rootDir, mountConfig); ``` when set `disableAsyncCache: true` `await fs.readdir(rootDir)` always empty
合并状态:已合并 合并于 2025-07-31 关闭于 2025-07-31 0 条评论