Extracted from Lassie; removed the default CARv1 option from the NewDeferredCarWriterForPath variant, but left it on for NewDeferredCarWriterForStream. Also had to wire up Close to Finalize to handle the CARv2 case (and added tests to cover the CARv2 case).
Extracted from Lassie; removed the default CARv1 option from the
NewDeferredCarWriterForPath
variant, but left it on forNewDeferredCarWriterForStream
. Also had to wire upClose
toFinalize
to handle the CARv2 case (and added tests to cover the CARv2 case).