Lchmod
[<Interface>]
type Lchmod =
abstract member Invoke (path: PathLike, mode: Mode, callback: NoParamCallback) : unit
abstract member __promisify__ (path: PathLike, mode: Mode) : Promise<unit>| Assembly | Xantham.Fable.Node |
Methods
abstract member Invoke (path: PathLike, mode: Mode, callback: NoParamCallback) : unit
abstract member Invoke (path: PathLike, mode: Mode, callback: NoParamCallback) : unitChanges the permissions on a symbolic link. No arguments other than a possible exception are given to the completion callback.
This method is only implemented on macOS.
See the POSIX lchmod(2) documentation for more detail.
@deprecated Since v0.4.7
abstract member __promisify__ (path: PathLike, mode: Mode) : Promise<unit>
abstract member __promisify__ (path: PathLike, mode: Mode) : Promise<unit>Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
| Parameter | |
|---|---|
path | A path to a file. If a URL is provided, it must use the file: protocol. |
mode | A file mode. If a string is passed, it is parsed as an octal integer. |