12345678910111213141516171819202122 |
- /// <reference types="node" />
- /// <reference types="node" />
- /// <reference types="node" />
- import { URL } from 'url';
- import { FakeFS } from './FakeFS';
- import { ProxiedFS } from './ProxiedFS';
- import { NativePath } from './path';
- /**
- * Adds support for file URLs and Buffers to the wrapped `baseFs`, but *not* inside the typings.
- *
- * Only exists for compatibility with Node's behavior.
- *
- * Automatically wraps all FS instances passed to `patchFs` & `extendFs`.
- *
- * Don't use it!
- */
- export declare class NodePathFS extends ProxiedFS<NativePath, NativePath> {
- protected readonly baseFs: FakeFS<NativePath>;
- constructor(baseFs: FakeFS<NativePath>);
- protected mapFromBase(path: NativePath): NativePath;
- protected mapToBase(path: NativePath | URL | Buffer): string;
- }
|