You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -124,9 +124,13 @@ The input's file paths and directory structure will be preserved in the [`dag-pb
124
124
125
125
-`wrap` (boolean, defaults to false): if true, a wrapping node will be created
126
126
-`shardSplitThreshold` (positive integer, defaults to 1000): the number of directory entries above which we decide to use a sharding directory builder (instead of the default flat one)
127
-
-`chunker` (string, defaults to `"fixed"`): the chunking strategy. Now only supports `"fixed"`
127
+
-`chunker` (string, defaults to `"fixed"`): the chunking strategy. Supports:
128
+
-`fixed`
129
+
-`rabin`
128
130
-`chunkerOptions` (object, optional): the options for the chunker. Defaults to an object with the following properties:
129
-
-`maxChunkSize` (positive integer, defaults to `262144`): the maximum chunk size for the `fixed` chunker.
131
+
-`avgChunkSize` (positive integer, defaults to `262144`): the average chunk size (rabin chunker only)
132
+
-`minChunkSize` (positive integer): the minimum chunk size (rabin chunker only)
133
+
-`maxChunkSize` (positive integer, defaults to `262144`): the maximum chunk size
130
134
-`strategy` (string, defaults to `"balanced"`): the DAG builder strategy name. Supports:
0 commit comments