Skip to main content
Module

x/plug/download.ts>ensureCacheLocation

🔌 Deno FFI helper module
Go to Latest
function ensureCacheLocation
import { ensureCacheLocation } from "https://deno.land/x/plug@1.0.1/download.ts";

Return the path to the cache location along with ensuring its existance

Parameters

optional
location: CacheLocation = [UNSUPPORTED]

See the CacheLocation type

Returns

Promise<string>

The cache location path