Skip to content

Statfs

[<Interface>]
type Statfs =
    abstract member Invoke (path: PathLike, options: StatFsOptions 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: StatFsOptions) : Promise<U2<BigIntStatsFs,StatsFs>>
    abstract member __promisify__ (path: PathLike, options: Options2) : Promise<BigIntStatsFs>
    abstract member __promisify__ (path: PathLike, ?options: Options) : Promise<StatsFs>
AssemblyXantham.Fable.Node

Declared inside

Callback
Callback2
Callback3
Callback4
Options
Options2
Promisify

Methods

abstract member Invoke (path: PathLike, options: StatFsOptions option, callback: Callback4) : unit

Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

In case of an error, the err.code will be one of Common System Errors.

@since v19.6.0, v18.15.0

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member Invoke (path: PathLike, options: Options2, callback: Callback3) : unit

Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

In case of an error, the err.code will be one of Common System Errors.

@since v19.6.0, v18.15.0

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member Invoke (path: PathLike, options: Options option, callback: Callback2) : unit

Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

In case of an error, the err.code will be one of Common System Errors.

@since v19.6.0, v18.15.0

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member Invoke (path: PathLike, callback: Callback) : unit

Asynchronous statfs(2). Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where statsis an fs.StatFs object.

In case of an error, the err.code will be one of Common System Errors.

@since v19.6.0, v18.15.0

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member __promisify__ (path: PathLike, ?options: StatFsOptions) : Promise<U2<BigIntStatsFs,StatsFs>>

Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member __promisify__ (path: PathLike, options: Options2) : Promise<BigIntStatsFs>

Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.

Parameter
pathA path to an existing file or directory on the file system to be queried.
abstract member __promisify__ (path: PathLike, ?options: Options) : Promise<StatsFs>

Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.

Parameter
pathA path to an existing file or directory on the file system to be queried.