Skip to content

StatSyncFn

[<Interface>]
type StatSyncFn =
    abstract member arguments: obj with get, set
    abstract member caller: Function with get, set
    abstract member length: float
    abstract member name: string
    abstract member prototype: obj with get, set
    abstract member Invoke (path: PathLike, ?options: StatSyncOptions) : U2<BigIntStats,Stats> option
    abstract member Invoke (path: PathLike, options: Options5) : U2<BigIntStats,Stats>
    abstract member Invoke (path: PathLike, options: Options4) : BigIntStats
    abstract member Invoke (path: PathLike, ?options: Options3) : Stats
    abstract member Invoke (path: PathLike, options: Options2) : BigIntStats option
    abstract member Invoke (path: PathLike, ?options: Options) : Stats option
    abstract member Invoke (path: PathLike, ?options: unit) : Stats
    abstract member SymbolHasInstance (value: obj) : bool
    abstract member apply (thisArg: obj, ?argArray: obj) : obj
    abstract member bind (thisArg: obj, argArray: obj array) : obj
    abstract member call (thisArg: obj, argArray: obj array) : obj
    abstract member toString () : string
AssemblyXantham.Fable.Node

Declared inside

Options
Options2
Options3
Options4
Options5

Properties

abstract member arguments: obj with get, set
abstract member caller: Function with get, set
abstract member length: float
abstract member name: string

Returns the name of the function. Function names are read-only and can not be changed.

abstract member prototype: obj with get, set

Methods

abstract member Invoke (path: PathLike, ?options: StatSyncOptions) : U2<BigIntStats,Stats> option

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, options: Options5) : U2<BigIntStats,Stats>

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, options: Options4) : BigIntStats

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, ?options: Options3) : Stats

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, options: Options2) : BigIntStats option

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, ?options: Options) : Stats option

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member Invoke (path: PathLike, ?options: unit) : Stats

Synchronous stat(2) - Get file status.

Parameter
pathA path to a file. If a URL is provided, it must use the file: protocol.
abstract member SymbolHasInstance (value: obj) : bool

Determines whether the given value inherits from this function if this function was used as a constructor function.

A constructor function can control which objects are recognized as its instances by 'instanceof' by overriding this method.

abstract member apply (thisArg: obj, ?argArray: obj) : obj

Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.

Parameter
thisArgThe object to be used as the this object.
argArrayA set of arguments to be passed to the function.
abstract member bind (thisArg: obj, argArray: obj array) : obj

For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.

Parameter
thisArgAn object to which the this keyword can refer inside the new function.
argArrayA list of arguments to be passed to the new function.
abstract member call (thisArg: obj, argArray: obj array) : obj

Calls a method of an object, substituting another object for the current object.

Parameter
thisArgThe object to be used as the current object.
argArrayA list of arguments to be passed to the method.
abstract member toString () : string

Returns a string representation of a function.