Search
Preparing search index...
The search index is not available
triaswallet
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"providers/persistence/storage/file-storage"
FileStorage
Class FileStorage
Hierarchy
FileStorage
Implements
IStorage
Index
Constructors
constructor
Properties
dir
file
fs
log
Methods
create
get
get
Dir
init
parse
Result
read
File
Entry
remove
set
Constructors
constructor
new
File
Storage
(
file
:
File
, log
:
Logger
)
:
FileStorage
Parameters
file:
File
log:
Logger
Returns
FileStorage
Properties
dir
dir
:
DirectoryEntry
Private
file
file
:
File
fs
fs
:
FileSystem
Private
log
log
:
Logger
Methods
create
create
(
k
:
string
, v
:
any
)
:
Promise
<
void
>
Parameters
k:
string
v:
any
Returns
Promise
<
void
>
get
get
(
k
:
string
)
:
Promise
<
any
>
Parameters
k:
string
Returns
Promise
<
any
>
get
Dir
get
Dir
(
)
:
Promise
<
DirectoryEntry
>
Returns
Promise
<
DirectoryEntry
>
init
init
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
parse
Result
parse
Result
(
v
:
any
)
:
any
Parameters
v:
any
Returns
any
read
File
Entry
read
File
Entry
(
fileEntry
:
any
)
:
Promise
<
any
>
Parameters
fileEntry:
any
Returns
Promise
<
any
>
remove
remove
(
k
:
string
)
:
Promise
<
void
>
Parameters
k:
string
Returns
Promise
<
void
>
set
set
(
k
:
string
, v
:
any
)
:
Promise
<
void
>
Parameters
k:
string
v:
any
Returns
Promise
<
void
>
Globals
"providers/persistence/storage/file-
storage"
File
Storage
constructor
dir
file
fs
log
create
get
get
Dir
init
parse
Result
read
File
Entry
remove
set