Page MenuHomeSealhub

index.d.ts
No OneTemporary

index.d.ts

/// <reference types="node" />
declare module "filru" {
export default class Filru {
constructor(config: {
dir: string;
maxBytes: number;
loadFunc?: (key: string) => Promise<Buffer>;
maxAge?: number;
hashSeed?: number | string;
pruneInterval?: number;
});
start(): Promise<void>;
stop(): void;
get(key: string): Promise<Buffer>;
set(key: string, contents: Buffer): Promise<Buffer>;
touch(key: string): void;
del(key: string): Promise<string>;
clear(): Promise<void>;
run(): Promise<void>;
}
// export = Filru;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 09:11 (8 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
984081
Default Alt Text
index.d.ts (556 B)

Event Timeline