Skip to main content

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.

Parameters#

NameTypeDescription
pathPathLikeA path to a file. If a URL is provided, it must use the file: protocol.
modeModeA file mode. If a string is passed, it is parsed as an octal integer.

Returns#

Promise<void>

Defined in#

node_modules/@types/node/fs.d.ts:529

  • 没帮助 0