@cryptotaxi247 / kubo / commits / c47cd13c0

unixfs: remove unused `ShardSplitThreshold` variable

License: MIT Signed-off-by: Lucas Molas <schomatis@gmail.com>

Lucas Molas committed Jul 9, 2018 at 12:02 UTC c47cd13c0b25e1065f6f9ca9400aec3d398d9001
1 file changed -5
unixfs/io/directory.go
-5
@@ -13,11 +13,6 @@ import (
13 cid "gx/ipfs/QmapdYm1b22Frv3k17fqrBYTFRxwiaVJkB299Mfn33edeB/go-cid"
14 )
15
16 -// ShardSplitThreshold specifies how large of an unsharded directory
17 -// the Directory code will generate. Adding entries over this value will
18 -// result in the node being restructured into a sharded object.
19 -var ShardSplitThreshold = 1000
20 -
16 // UseHAMTSharding is a global flag that signifies whether or not to use the
17 // HAMT sharding scheme for directory creation
18 var UseHAMTSharding = false