Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fileserver/src/util.ts>denoCanRead

A file-server command.
Latest
function denoCanRead
import { denoCanRead } from "https://deno.land/x/fileserver@1.1.19/src/util.ts";

Check whether or not Deno has access to read a certain file/directory.

Parameters

path: string

The path to the file or directory.

Returns

Promise<boolean>