You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
535 B

import { Link } from './node';
import { TEncodingExtended, TDataOut } from './encoding';
/**
* A directory entry, like `fs.Dirent`.
*/
export declare class Dirent {
static build(link: Link, encoding: TEncodingExtended | undefined): Dirent;
name: TDataOut;
private mode;
private _checkModeProperty;
isDirectory(): boolean;
isFile(): boolean;
isBlockDevice(): boolean;
isCharacterDevice(): boolean;
isSymbolicLink(): boolean;
isFIFO(): boolean;
isSocket(): boolean;
}
export default Dirent;