Module

x/plug/test_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/test_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>