import type { Entity } from "./baseTypes"; import { FakeFs } from "./fsAll"; export class FakeFsMock extends FakeFs { kind: "mock"; constructor() { super(); this.kind = "mock"; } async walk(): Promise { throw new Error("Method not implemented."); } async walkPartial(): Promise { return await this.walk(); } async stat(key: string): Promise { throw new Error("Method not implemented."); } async mkdir(key: string, mtime: number, ctime: number): Promise { throw new Error("Method not implemented."); } async writeFile( key: string, content: ArrayBuffer, mtime: number, ctime: number ): Promise { throw new Error("Method not implemented."); } async readFile(key: string): Promise { throw new Error("Method not implemented."); } async rename(key1: string, key2: string): Promise { throw new Error("Method not implemented."); } async rm(key: string): Promise { throw new Error("Method not implemented."); } async checkConnect(callbackFunc?: any): Promise { return await this.checkConnectCommonOps(callbackFunc); } async getUserDisplayName(): Promise { throw new Error("Method not implemented."); } async revokeAuth(): Promise { throw new Error("Method not implemented."); } allowEmptyFile(): boolean { throw new Error("Method not implemented."); } }