check password using walkPartial instead of cache

This commit is contained in:
fyears
2024-05-18 01:33:20 +08:00
parent b584f89a95
commit 63c54d1956
9 changed files with 131 additions and 50 deletions
+4
View File
@@ -109,6 +109,10 @@ export class FakeFsLocal extends FakeFs {
return local;
}
async walkPartial(): Promise<Entity[]> {
return await this.walk();
}
async stat(key: string): Promise<Entity> {
const statRes = await statFix(this.vault, key);
if (statRes === undefined || statRes === null) {