Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/plug/mod.ts>CacheLocation

๐Ÿ”Œ Deno FFI helper module
Go to Latest
type alias CacheLocation
import { type CacheLocation } from "https://deno.land/x/plug@1.0.0-rc.3/mod.ts";

Where the plug cache is stored:

Option Description
deno The location of the default deno cache, this is the default option.
cwd A plug folder in the current working directory.
cache A plug folder in default cache directory for the current os.
tmp A temporary plug prefixed folder in the default temporary directory for the current os.
string A file path pointing to the folder where the plug cache should be stored.
URL A file protocol URL pointing to the folder where the plug cache should be stored.
definition:
| "deno"
| "cwd"
| "cache"
| "tmp"
| string
| URL