UNPKG

@loom-io/core

Version:

A file system wrapper for Node.js and Bun

15 lines (14 loc) 481 B
import { Directory } from '../core/dir.js'; import { ObjectDirentInterface } from '../definitions.js'; export declare class DirentWrapper { protected _dir: Directory; protected _dirent: ObjectDirentInterface; constructor(_dir: Directory, _dirent: ObjectDirentInterface); isDirectory(): boolean; isFile(): boolean; get dirent(): ObjectDirentInterface; get dir(): Directory; get name(): string; get parentPath(): string; get path(): string; }