tsbase
Preparing search index...
IFileSystemAdapter
Interface IFileSystemAdapter
An interface that defines FSPersister required methods on the node fs library
interface
IFileSystemAdapter
{
constants
:
{
W_OK
:
any
}
;
accessSync
(
path
:
string
,
mode
:
number
)
:
void
;
existsSync
(
path
:
string
)
:
boolean
;
mkdirSync
(
path
:
string
)
:
void
;
readFileSync
(
path
:
string
,
options
?:
any
)
:
Buffer
;
writeFileSync
(
path
:
string
,
data
:
any
)
:
void
;
}
Index
Properties
constants
Methods
access
Sync
exists
Sync
mkdir
Sync
read
File
Sync
write
File
Sync
Properties
constants
constants
:
{
W_OK
:
any
}
Methods
access
Sync
accessSync
(
path
:
string
,
mode
:
number
)
:
void
Parameters
path
:
string
mode
:
number
Returns
void
exists
Sync
existsSync
(
path
:
string
)
:
boolean
Parameters
path
:
string
Returns
boolean
mkdir
Sync
mkdirSync
(
path
:
string
)
:
void
Parameters
path
:
string
Returns
void
read
File
Sync
readFileSync
(
path
:
string
,
options
?:
any
)
:
Buffer
Parameters
path
:
string
Optional
options
:
any
Returns
Buffer
write
File
Sync
writeFileSync
(
path
:
string
,
data
:
any
)
:
void
Parameters
path
:
string
data
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
constants
Methods
access
Sync
exists
Sync
mkdir
Sync
read
File
Sync
write
File
Sync
tsbase
Loading...
An interface that defines FSPersister required methods on the node fs library