@mainnet-pat/indexeddb-fs
Version:
An 'fs' kind of library dedicated to the browser
4 lines (3 loc) • 350 B
TypeScript
import { IFileEntry } from "../../../types";
import { IRenameFileInstanceProps } from './rename-file-instance.types';
export declare const renameFileInstance: ({ exists, isFile, removeFile, rootDirectoryName, updateFileDetails }: IRenameFileInstanceProps) => <TData = unknown>(fullPath: string, newFilename: string) => Promise<IFileEntry<TData>>;