Skip to main content
constants.O_DIRECTORY - fs - Node documentation
variable constants.O_DIRECTORY

Usage in Deno

import { constants } from "node:fs";

Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory.

Type

number
Back to top