@loom-io/node-filesystem-adapter
Version:
A file system wrapper for Node.js and Bun
12 lines (11 loc) • 376 B
TypeScript
import { ObjectDirentInterface } from '@loom-io/core';
import { Dirent } from 'node:fs';
export declare class ObjectDirent implements ObjectDirentInterface {
protected _dirent: Dirent;
protected _rootPath: string;
constructor(_dirent: Dirent, _rootPath: string);
isDirectory(): boolean;
isFile(): boolean;
get name(): string;
get path(): string;
}