File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
packages/ipfs-unixfs-exporter/src Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,19 @@ export interface ExporterOptions extends ProgressOptions<ExporterProgressEvents>
134134 * (default: undefined)
135135 */
136136 blockReadConcurrency ?: number
137+
138+ /**
139+ * When directory contents are listed, by default the root node of each entry
140+ * is fetched to decode the UnixFS metadata and know if the entry is a file or
141+ * a directory. This can result in fetching extra data which may not be
142+ * desirable, depending on your application.
143+ *
144+ * Pass false here to only return the CID and the name of the entry and not
145+ * any extended metadata.
146+ *
147+ * @default true
148+ */
149+ extended ?: boolean
137150}
138151
139152export interface BasicExporterOptions extends ExporterOptions {
You can’t perform that action at this time.
0 commit comments