| 1 |
/// <reference types="node" /> |
| 2 |
import type * as fs from 'fs'; |
| 3 |
export interface Entry { |
| 4 |
dirent: Dirent; |
| 5 |
name: string; |
| 6 |
path: string; |
| 7 |
stats?: Stats; |
| 8 |
} |
| 9 |
export declare type Stats = fs.Stats; |
| 10 |
export declare type ErrnoException = NodeJS.ErrnoException; |
| 11 |
export interface Dirent { |
| 12 |
isBlockDevice: () => boolean; |
| 13 |
isCharacterDevice: () => boolean; |
| 14 |
isDirectory: () => boolean; |
| 15 |
isFIFO: () => boolean; |
| 16 |
isFile: () => boolean; |
| 17 |
isSocket: () => boolean; |
| 18 |
isSymbolicLink: () => boolean; |
| 19 |
name: string; |
| 20 |
} |