toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-node
/
node.fs
/
statAsync
stat
Async
external
fun
statAsync
(
path
:
PathLike
,
opts
:
StatSimpleOpts
=
definedExternally
)
:
Promise
<
Stats
>
(
source
)
Since
v10.0.0
Return
Fulfills with the {fs.Stats} object for the given
path
.
external
fun
statAsync
(
path
:
PathLike
,
opts
:
StatBigIntOpts
)
:
Promise
<
BigIntStats
>
(
source
)
external
fun
statAsync
(
path
:
PathLike
,
opts
:
StatOptions
=
definedExternally
)
:
Promise
<
Any
>
(
source
)
external
fun
statAsync
(
path
:
PathLike
)
:
Promise
<
Stats
>
(
source
)