diff --git a/config/import.go b/config/import.go index 995c371d2..2c88a12f3 100644 --- a/config/import.go +++ b/config/import.go @@ -31,7 +31,7 @@ const ( DefaultBatchMaxSize = 100 << 20 // 20MiB // HAMTSizeEstimation values for Import.UnixFSHAMTDirectorySizeEstimation - HAMTSizeEstimationLinks = "links" // legacy: estimate using link names + CID byte lengths + HAMTSizeEstimationLinks = "links" // legacy: estimate using link names + CID byte lengths (default) HAMTSizeEstimationBlock = "block" // full serialized dag-pb block size HAMTSizeEstimationDisabled = "disabled" // disable HAMT sharding entirely diff --git a/test/cli/cid_profiles_test.go b/test/cli/cid_profiles_test.go index 4f153bf48..10e565283 100644 --- a/test/cli/cid_profiles_test.go +++ b/test/cli/cid_profiles_test.go @@ -350,7 +350,7 @@ func runProfileTests(t *testing.T, exp cidProfileExpectations, carOutputDir stri root, err := node.InspectPBNode(cidStr) assert.NoError(t, err) require.LessOrEqual(t, len(root.Links), exp.HAMTFanout, - "expected HAMT directory with <=%d links", exp.HAMTFanout) + "expected HAMT directory with <= %d links", exp.HAMTFanout) // Verify hash function verifyHashFunction(t, node, cidStr, exp.HashFunc)