(name: string)
| 26 | } |
| 27 | |
| 28 | function dir(name: string): Dirent { |
| 29 | return { |
| 30 | name: name, |
| 31 | isFile: () => false, |
| 32 | isDirectory: () => true, |
| 33 | isBlockDevice: () => false, |
| 34 | isCharacterDevice: () => false, |
| 35 | isSymbolicLink: () => false, |
| 36 | isFIFO: () => false, |
| 37 | isSocket: () => false, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | export class PyodideFakeFileSystem implements FileSystem { |
| 42 | private _hostedTypeshedBasePath: string |
no outgoing calls
no test coverage detected