import { FsCache } from "https://deno.land/x/dtils@2.6.0/cache.ts";
Methods
clear(): Promise<void>
Removes all entries under scope
in cache dir
getBytes(key: string): Promise<Uint8Array | null>
Get a cache entry key
as bytes
getString(key: string): Promise<string | null>
Get cache entry key
as a string
list(): Promise<string[]>
List all the keys in this particular cache
set(key: string, content: string | Uint8Array): Promise<void>
Set a cache entry at key
. Entry can be either a string or plain bytes