Skip to main content
Module

std/node/fs.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.157.0/node/fs.ts";

Functions

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

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

Asynchronously changes the owner and group of a file.

Synchronously changes the owner and group of a file.

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

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

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

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

Write buffer to the file specified by fd. If buffer is a normal object, it must have an own toString function property.

If buffer is a plain object, it must have an own (not inherited) toStringfunction property.

Write an array of ArrayBufferViews to the file specified by fd usingwritev().

For detailed information, see the documentation of the asynchronous version of this API: writev.