Search
Preparing search index...
The search index is not available
Awayto
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Awayto
core
IPFSFileStoreStrategy
Class IPFSFileStoreStrategy
Hierarchy
IPFSFileStoreStrategy
Implements
FileStoreStrategy
Index
Constructors
constructor
Properties
client
ready
should
Delete
Methods
delete
get
loaded
post
put
tarballed
Constructors
constructor
new IPFSFile
Store
Strategy
(
client
:
IPFS
<
{}
>
)
:
IPFSFileStoreStrategy
Parameters
client:
IPFS
<
{}
>
Returns
IPFSFileStoreStrategy
Properties
Private
client
client
:
IPFS
<
{}
>
Private
ready
ready
:
boolean
should
Delete
should
Delete
:
boolean
Methods
delete
delete
(
location
:
string
)
:
Promise
<
string
>
Parameters
location:
string
Returns
Promise
<
string
>
get
get
(
location
:
string
)
:
Promise
<
string
>
Parameters
location:
string
Returns
Promise
<
string
>
loaded
loaded
(
)
:
boolean
Returns
boolean
post
post
(
file
:
File
)
:
Promise
<
string
>
Parameters
file:
File
Returns
Promise
<
string
>
put
put
(
file
:
File
)
:
Promise
<
string
>
Parameters
file:
File
Returns
Promise
<
string
>
Private
tarballed
tarballed
(
source
:
AsyncIterable
<
Uint8Array
>
)
:
AsyncGenerator
<
{
body
:
Uint8Array
;
header
:
TarEntryHeader
}
,
void
,
any
>
Parameters
source:
AsyncIterable
<
Uint8Array
>
Returns
AsyncGenerator
<
{
body
:
Uint8Array
;
header
:
TarEntryHeader
}
,
void
,
any
>
Modules
core
webapp
IPFSFile
Store
Strategy
constructor
client
ready
should
Delete
delete
get
loaded
post
put
tarballed
Generated using
TypeDoc