123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { NodeFileSystemHandle } from './NodeFileSystemHandle';
- import type { NodeFsaContext, NodeFsaFs } from './types';
- import type { GetDirectoryHandleOptions, GetFileHandleOptions, IFileSystemDirectoryHandle, IFileSystemFileHandle, RemoveEntryOptions } from '../fsa/types';
- export declare class NodeFileSystemDirectoryHandle extends NodeFileSystemHandle implements IFileSystemDirectoryHandle {
- protected readonly fs: NodeFsaFs;
- protected readonly ctx: Partial<NodeFsaContext>;
-
- readonly __path: string;
- constructor(fs: NodeFsaFs, path: string, ctx?: Partial<NodeFsaContext>);
-
- keys(): AsyncIterableIterator<string>;
-
- entries(): AsyncIterableIterator<[string, NodeFileSystemHandle]>;
-
- values(): AsyncIterableIterator<NodeFileSystemHandle>;
-
- getDirectoryHandle(name: string, options?: GetDirectoryHandleOptions): Promise<IFileSystemDirectoryHandle>;
-
- getFileHandle(name: string, options?: GetFileHandleOptions): Promise<IFileSystemFileHandle>;
-
- removeEntry(name: string, { recursive }?: RemoveEntryOptions): Promise<void>;
-
- resolve(possibleDescendant: NodeFileSystemHandle): Promise<string[] | null>;
- }
|