UNPKG

@loom-io/in-memory-adapter

Version:

A file system wrapper for Node.js and Bun

12 lines (11 loc) 404 B
import { ObjectDirentInterface } from '@loom-io/core'; import { MemoryObject } from '../definitions.js'; export declare class ObjectDirent implements ObjectDirentInterface { protected _object: MemoryObject; protected _basePath: string; constructor(_object: MemoryObject, _basePath: string); isDirectory(): boolean; isFile(): boolean; get name(): string; get path(): string; }