js-ipfs-unixfs
Preparing search index...
ipfs-unixfs-importer
utils
DirSharded
Class DirSharded
Hierarchy
Dir
DirSharded
Index
Constructors
constructor
Properties
bucket
cid?
dir
dirty
flat
mode?
mtime?
node
Size?
options
parent?
parent
Key?
path
root
size?
unixfs?
Methods
child
Count
direct
Children
Count
each
Child
Series
estimate
Node
Size
flush
get
only
Child
put
Constructors
constructor
new
DirSharded
(
props
:
DirProps
,
options
:
AddToTreeOptions
)
:
DirSharded
Parameters
props
:
DirProps
options
:
AddToTreeOptions
Returns
DirSharded
Properties
Readonly
bucket
bucket
:
Bucket
<
InProgressImportResult
|
Dir
>
Optional
cid
cid
?:
CID
<
unknown
,
number
,
number
,
Version
>
dir
dir
:
boolean
dirty
dirty
:
boolean
flat
flat
:
boolean
Optional
mode
mode
?:
number
Optional
mtime
mtime
?:
Mtime
Optional
node
Size
nodeSize
?:
number
options
options
:
AddToTreeOptions
Optional
parent
parent
?:
Dir
Optional
parent
Key
parentKey
?:
string
path
path
:
string
root
root
:
boolean
Optional
size
size
?:
number
Optional
unixfs
unixfs
?:
UnixFS
Methods
child
Count
childCount
()
:
number
Returns
number
direct
Children
Count
directChildrenCount
()
:
number
Returns
number
each
Child
Series
eachChildSeries
()
:
Generator
<
{
child
:
InProgressImportResult
|
Dir
;
key
:
string
}
,
>
Returns
Generator
<
{
child
:
InProgressImportResult
|
Dir
;
key
:
string
}
>
estimate
Node
Size
estimateNodeSize
()
:
Promise
<
number
>
Returns
Promise
<
number
>
flush
flush
(
blockstore
:
WritableStorage
)
:
AsyncGenerator
<
ImportResult
>
Parameters
blockstore
:
WritableStorage
Returns
AsyncGenerator
<
ImportResult
>
get
get
(
name
:
string
)
:
Promise
<
InProgressImportResult
|
Dir
|
undefined
>
Parameters
name
:
string
Returns
Promise
<
InProgressImportResult
|
Dir
|
undefined
>
only
Child
onlyChild
()
:
|
Bucket
<
InProgressImportResult
|
Dir
>
|
BucketChild
<
InProgressImportResult
|
Dir
>
Returns
Bucket
<
InProgressImportResult
|
Dir
>
|
BucketChild
<
InProgressImportResult
|
Dir
>
put
put
(
name
:
string
,
value
:
InProgressImportResult
|
Dir
)
:
Promise
<
void
>
Parameters
name
:
string
value
:
InProgressImportResult
|
Dir
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bucket
cid
dir
dirty
flat
mode
mtime
node
Size
options
parent
parent
Key
path
root
size
unixfs
Methods
child
Count
direct
Children
Count
each
Child
Series
estimate
Node
Size
flush
get
only
Child
put
js-ipfs-unixfs
Loading...