node-ejs-renderer/node_modules/memfs/lib/Dirent.d.ts

22 lines
622 B
TypeScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
import { Link } from './node';
import { TEncodingExtended, TDataOut } from './encoding';
import type { IDirent } from './node/types/misc';
/**
* A directory entry, like `fs.Dirent`.
*/
export declare class Dirent implements IDirent {
static build(link: Link, encoding: TEncodingExtended | undefined): Dirent;
name: TDataOut;
path: string;
private mode;
private _checkModeProperty;
isDirectory(): boolean;
isFile(): boolean;
isBlockDevice(): boolean;
isCharacterDevice(): boolean;
isSymbolicLink(): boolean;
isFIFO(): boolean;
isSocket(): boolean;
}
export default Dirent;