ecmaOS
types/i18n
I18nFilesystemAdapter
Interface I18nFilesystemAdapter
interface
I18nFilesystemAdapter
{
exists
(
path
:
string
)
:
Promise
<
boolean
>
;
readdir
(
path
:
string
)
:
Promise
<
string
[]
>
;
readFile
(
path
:
string
,
encoding
:
"utf-8"
)
:
Promise
<
string
>
;
stat
(
path
:
string
)
:
Promise
<
{
isDirectory
()
:
boolean
}
>
;
}
Index
Methods
exists
readdir
read
File
stat
Methods
exists
exists
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
readdir
readdir
(
path
:
string
)
:
Promise
<
string
[]
>
Parameters
path
:
string
Returns
Promise
<
string
[]
>
read
File
readFile
(
path
:
string
,
encoding
:
"utf-8"
)
:
Promise
<
string
>
Parameters
path
:
string
encoding
:
"utf-8"
Returns
Promise
<
string
>
stat
stat
(
path
:
string
)
:
Promise
<
{
isDirectory
()
:
boolean
}
>
Parameters
path
:
string
Returns
Promise
<
{
isDirectory
()
:
boolean
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
exists
readdir
read
File
stat
ecmaOS