| 40 | * Implementation of a default file system. |
| 41 | */ |
| 42 | export class VMFileSystem implements VMFileSystemInterface { |
| 43 | constructor(options?: { fs?: VMFS, path?: VMPath }); |
| 44 | /** Implements fs.statSync */ |
| 45 | statSync: typeof fs.statSync; |
| 46 | /** Implements fs.readFileSync */ |
| 47 | readFileSync: typeof fs.readFileSync; |
| 48 | /** Implements path.resolve */ |
| 49 | resolve: typeof pa.resolve; |
| 50 | /** Implements path.isAbsolute */ |
| 51 | isAbsolute: typeof pa.isAbsolute; |
| 52 | /** Implements path.join */ |
| 53 | join: typeof pa.join; |
| 54 | /** Implements path.basename */ |
| 55 | basename: typeof pa.basename; |
| 56 | /** Implements path.dirname */ |
| 57 | dirname: typeof pa.dirname; |
| 58 | /** Implements (sep) => sep === path.sep */ |
| 59 | isSeparator(char: string): boolean; |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Function that will be called to load a built-in into a vm. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…