UNPKG

indexeddb-fs

Version:

An 'fs' kind of library dedicated to the browser

10 lines (9 loc) 475 B
import { IFileEntry } from "../../../types"; export interface IMoveFileInstanceProps { exists: (fullPath: string) => Promise<boolean>; isDirectory: (fullPath: string) => Promise<boolean>; isFile: (fullPath: string) => Promise<boolean>; removeFile: (fullPath: string) => Promise<void>; rootDirectoryName: string; updateFileDetails: <TData = unknown>(fullPath: string, newFileEntry: Partial<IFileEntry<TData>>) => Promise<IFileEntry<TData>>; }