docs: note that ShardingEnabled is a global flag

People may assume that HAMT gets enabled only for directories over some arbitrary threshold.
This is not the case. Right now it is a global setting 
which will impact the final CID of all directories produced by ipfs.add.
This commit is contained in:
Marcin Rataj 2020-04-27 00:11:38 +02:00 committed by GitHub
parent 4285754d7e
commit d4570e27ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -545,8 +545,11 @@ You can read more in the [datastore](./datastores.md#badgerds) documentation.
### State
Experimental
Allows creating directories with an unlimited number of entries - currently
size of unixfs directories is limited by the maximum block size
Allows creating directories with an unlimited number of entries.
**Caveats:**
1. right now it is a GLOBAL FLAG which will impact the final CID of all directories produced by `ipfs.add` (even the small ones)
2. currently size of unixfs directories is limited by the maximum block size
### Basic Usage: