Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/fs.ts>chmod

Deno standard library
Go to Latest
function chmod
Re-export
import { chmod } from "https://deno.land/std@0.83.0/node/fs.ts";

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

Parameters

path: string | URL
mode: string | number
callback: CallbackWithError