Lstat
[<Interface>]
type Lstat =
abstract member Invoke (path: PathLike, options: StatOptions option, callback: Callback4) : unit
abstract member Invoke (path: PathLike, options: Options2, callback: Callback3) : unit
abstract member Invoke (path: PathLike, options: Options option, callback: Callback2) : unit
abstract member Invoke (path: PathLike, callback: Callback) : unit
abstract member __promisify__ (path: PathLike, ?options: StatOptions) : Promise<U2<BigIntStats,Stats>>
abstract member __promisify__ (path: PathLike, options: Options2) : Promise<BigIntStats>
abstract member __promisify__ (path: PathLike, ?options: Options) : Promise<Stats>| Assembly | Xantham.Fable.Node |
Declared inside
Callback | |
Callback2 | |
Callback3 | |
Callback4 | |
Options | |
Options2 | |
Promisify |
Methods
abstract member Invoke (path: PathLike, options: StatOptions option, callback: Callback4) : unit
abstract member Invoke (path: PathLike, options: StatOptions option, callback: Callback4) : unitRetrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
See the POSIX lstat(2) documentation for more details.
@since v0.1.30
abstract member Invoke (path: PathLike, options: Options2, callback: Callback3) : unit
abstract member Invoke (path: PathLike, options: Options2, callback: Callback3) : unitRetrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
See the POSIX lstat(2) documentation for more details.
@since v0.1.30
abstract member Invoke (path: PathLike, options: Options option, callback: Callback2) : unit
abstract member Invoke (path: PathLike, options: Options option, callback: Callback2) : unitRetrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
See the POSIX lstat(2) documentation for more details.
@since v0.1.30
abstract member Invoke (path: PathLike, callback: Callback) : unit
abstract member Invoke (path: PathLike, callback: Callback) : unitRetrieves the fs.Stats for the symbolic link referred to by the path. The callback gets two arguments (err, stats) where stats is a fs.Stats object. lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.
See the POSIX lstat(2) documentation for more details.
@since v0.1.30
abstract member __promisify__ (path: PathLike, ?options: StatOptions) : Promise<U2<BigIntStats,Stats>>
abstract member __promisify__ (path: PathLike, ?options: StatOptions) : Promise<U2<BigIntStats,Stats>>Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
| Parameter | |
|---|---|
path | A path to a file. If a URL is provided, it must use the file: protocol. |
abstract member __promisify__ (path: PathLike, options: Options2) : Promise<BigIntStats>
abstract member __promisify__ (path: PathLike, options: Options2) : Promise<BigIntStats>Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
| Parameter | |
|---|---|
path | A path to a file. If a URL is provided, it must use the file: protocol. |