alapa
Version:
A cutting-edge web development framework designed to revolutionize the way developers build modern web applications.
12 lines (11 loc) • 410 B
TypeScript
import { StorageDriver } from "./driver/abstract";
export declare class Storage {
driver: StorageDriver;
constructor(driver?: StorageDriver);
set setDriver(driver: StorageDriver);
get absolutePath(): string;
get baseURL(): string;
getFullPath(filePath: string): string;
getFullURL(filePath: string): string;
saveFile(filePath: string, key: string): Promise<boolean | string>;
}