alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
13 lines (12 loc) • 459 B
TypeScript
import { StorageDriver, IStorageDriverError } from "./abstract";
export declare class LocalStorageDriver implements StorageDriver {
name: string;
absolutePathPath: string;
absoluteURL: string;
private config?;
private staticFilePath;
constructor(absolutePathPath?: string, absoluteURL?: string);
absolutePath: string;
error: IStorageDriverError | null;
saveFile(filePath: string, key: string): Promise<string | boolean>;
}