docs(cli): clarify CAR format in dag export|import
Marcin Rataj committed
Jul 26, 2022 at 17:40 UTC
2ab89cfe36df2d240211712a79526b316fa518d1
1 file changed
+3
-1
core/commands/dag/dag.go
+3
-1
@@ -197,7 +197,8 @@ Note:
197
currently present in the blockstore does not represent a complete DAG,
198
pinning of that individual root will fail.
199
200
-Maximum supported CAR version: 1
200
+Maximum supported CAR version: 2
201
+Specification of CAR formats: https://ipld.io/specs/transport/car/
202
`,
203
},
204
Arguments: []cmds.Argument{
@@ -265,6 +266,7 @@ var DagExportCmd = &cmds.Command{
266
'ipfs dag export' fetches a DAG and streams it out as a well-formed .car file.
267
Note that at present only single root selections / .car files are supported.
268
The output of blocks happens in strict DAG-traversal, first-seen, order.
269
+CAR file follows the CARv1 format: https://ipld.io/specs/transport/car/carv1/
270
`,
271
},
272
Arguments: []cmds.Argument{