crossnote
Preparing search index...
FileSystemApi
Type Alias FileSystemApi
type
FileSystemApi
=
{
exists
:
(
path
:
string
)
=>
Promise
<
boolean
>
;
mkdir
:
(
path
:
string
)
=>
Promise
<
void
>
;
readdir
:
(
path
:
string
)
=>
Promise
<
string
[]
>
;
readFile
:
(
path
:
string
,
encoding
?:
BufferEncoding
)
=>
Promise
<
string
>
;
stat
:
(
path
:
string
)
=>
Promise
<
FileSystemStats
>
;
unlink
:
(
path
:
string
)
=>
Promise
<
void
>
;
writeFile
:
(
path
:
string
,
content
:
string
,
encoding
?:
BufferEncoding
,
)
=>
Promise
<
void
>
;
}
Index
Properties
exists
mkdir
readdir
read
File
stat
unlink
write
File
Properties
exists
exists
:
(
path
:
string
)
=>
Promise
<
boolean
>
mkdir
mkdir
:
(
path
:
string
)
=>
Promise
<
void
>
readdir
readdir
:
(
path
:
string
)
=>
Promise
<
string
[]
>
read
File
readFile
:
(
path
:
string
,
encoding
?:
BufferEncoding
)
=>
Promise
<
string
>
stat
stat
:
(
path
:
string
)
=>
Promise
<
FileSystemStats
>
unlink
unlink
:
(
path
:
string
)
=>
Promise
<
void
>
write
File
writeFile
:
(
path
:
string
,
content
:
string
,
encoding
?:
BufferEncoding
,
)
=>
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
exists
mkdir
readdir
read
File
stat
unlink
write
File
crossnote
Loading...