fs.lchmod
@listenai/lisa_core / Exports / fs / lchmod
Namespace: lchmod
fs.lchmod
#
Table of contents#
Functions#
Functions#
__promisify__▸ promisify(path
, mode
): Promise
<void
>
Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
#
ParametersName | Type | Description |
---|---|---|
path | PathLike | A path to a file. If a URL is provided, it must use the file: protocol. |
mode | Mode | A file mode. If a string is passed, it is parsed as an octal integer. |
#
ReturnsPromise
<void
>
#
Defined innode_modules/@types/node/fs.d.ts:529