Files
to_docx/client/node_modules/langium/lib/test/virtual-file-system.d.ts
T
Chen Xiao 0b64e2de94 First commit.
Signed-off-by: Chen Xiao <abigwc@gmail.com>
2026-05-08 14:43:16 +08:00

23 lines
1.1 KiB
TypeScript

/******************************************************************************
* Copyright 2025 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import { URI } from 'vscode-uri';
import type { FileSystemNode, FileSystemProvider } from '../workspace/file-system-provider.js';
export declare class VirtualFileSystemProvider implements FileSystemProvider {
private readonly trie;
insert(uri: URI | string, content: string): void;
delete(uri: URI | string): void;
stat(uri: URI): Promise<FileSystemNode>;
statSync(uri: URI): FileSystemNode;
exists(uri: URI): Promise<boolean>;
existsSync(uri: URI): boolean;
readBinary(uri: URI): Promise<Uint8Array>;
readBinarySync(uri: URI): Uint8Array;
readFile(uri: URI): Promise<string>;
readFileSync(uri: URI): string;
readDirectory(uri: URI): Promise<FileSystemNode[]>;
readDirectorySync(uri: URI): FileSystemNode[];
}
//# sourceMappingURL=virtual-file-system.d.ts.map