Skip to main content
Module

x/plug/deps.ts>Cache.Wrapper

🔌 Deno plugin management library
Go to Latest
class Cache.Wrapper
import { Cache } from "https://deno.land/x/plug@0.5.2/deps.ts";
const { Wrapper } = Cache;

Constructors

new
Wrapper(ns?: string)

Methods

cache(url: string | URL, policy?: Policy): Promise<File>
exists(url: string | URL): Promise<boolean>
purge(): Promise<boolean>
remove(url: string | URL): Promise<boolean>