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

x/fileserver/src/util.ts>canRead

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

Check whether or not the application can read a certain file or directory.

Parameters

path: string

The path to check read permissions for.

Returns

Promise<boolean>