UNPKG

@loom-io/in-memory-adapter

Version:

A file system wrapper for Node.js and Bun

10 lines (9 loc) 364 B
import { Directory, LoomFile } from '@loom-io/core/internal'; import { Adapter } from '../core/adapter.js'; import { LoomSourceAdapter } from '@loom-io/core'; export declare class MemoryAdapter implements LoomSourceAdapter { protected adapter: Adapter; constructor(); file(path: string): Promise<LoomFile>; dir(path: string): Promise<Directory>; }