Search
Preparing search index...
The search index is not available
Fission SDK
Options
All
Public
Public/Protected
All
Inherited
Menu
Fission SDK
<internal>
PublicFile
Class PublicFile
Hierarchy
BaseFile
PublicFile
Index
Constructors
constructor
Properties
cid
content
header
history
read
Only
Methods
put
put
Detailed
update
Content
create
fromCID
from
Info
instance
Of
Constructors
constructor
new
Public
File
(
__namedParameters
:
<internal>
.
ConstructorParams
)
:
PublicFile
Parameters
__namedParameters:
<internal>
.
ConstructorParams
Returns
PublicFile
Properties
cid
cid
:
Maybe
<
CID
>
content
content
:
FileContent
header
header
:
FileHeader
history
history
:
<internal>
.
default
read
Only
read
Only
:
boolean
Methods
put
put
(
)
:
Promise
<
CID
>
Returns
Promise
<
CID
>
put
Detailed
put
Detailed
(
)
:
Promise
<
PutDetails
>
Returns
Promise
<
PutDetails
>
update
Content
update
Content
(
content
:
FileContent
)
:
Promise
<
PublicFile
>
Parameters
content:
FileContent
Returns
Promise
<
PublicFile
>
Static
create
create
(
content
:
FileContent
)
:
Promise
<
PublicFile
>
Parameters
content:
FileContent
Returns
Promise
<
PublicFile
>
Static
fromCID
fromCID
(
cid
:
CID
)
:
Promise
<
PublicFile
>
Parameters
cid:
CID
Returns
Promise
<
PublicFile
>
Static
from
Info
from
Info
(
info
:
FileInfo
, cid
:
CID
)
:
Promise
<
PublicFile
>
Parameters
info:
FileInfo
cid:
CID
Returns
Promise
<
PublicFile
>
Static
instance
Of
instance
Of
(
obj
:
unknown
)
:
obj
is
PublicFile
Parameters
obj:
unknown
Returns
obj
is
PublicFile
Exports
<internal>
apps
crypto
data
Root
did
dns
errors
ipfs
keystore
lobby
machinery
path
setup
ucan
Public
File
constructor
cid
content
header
history
read
Only
put
put
Detailed
update
Content
create
fromCID
from
Info
instance
Of
Generated using
TypeDoc