Documentation - v0.27.2
Preparing search index...
@mtcute/convert
INodeFsLike
Interface INodeFsLike
interface
INodeFsLike
{
mkdir
(
path
:
string
,
options
?:
{
recursive
?:
boolean
}
)
:
Promise
<
void
>
;
readFile
(
path
:
string
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
;
stat
(
path
:
string
)
:
Promise
<
{
lastModified
:
number
;
size
:
number
}
>
;
writeFile
(
path
:
string
,
data
:
Uint8Array
)
:
Promise
<
void
>
;
}
Index
Methods
mkdir
read
File
stat
write
File
Methods
mkdir
mkdir
(
path
:
string
,
options
?:
{
recursive
?:
boolean
}
)
:
Promise
<
void
>
Parameters
path
:
string
Optional
options
:
{
recursive
?:
boolean
}
Returns
Promise
<
void
>
read
File
readFile
(
path
:
string
)
:
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
Parameters
path
:
string
Returns
Promise
<
Uint8Array
<
ArrayBufferLike
>
>
stat
stat
(
path
:
string
)
:
Promise
<
{
lastModified
:
number
;
size
:
number
}
>
Parameters
path
:
string
Returns
Promise
<
{
lastModified
:
number
;
size
:
number
}
>
write
File
writeFile
(
path
:
string
,
data
:
Uint8Array
)
:
Promise
<
void
>
Parameters
path
:
string
data
:
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
mkdir
read
File
stat
write
File
Documentation - v0.27.2
Loading...