How many files will there be in each folder in the repository?
Can the max number of files in each folder be config? Because some storage providers limit the number of files per folder.
1 Like
Files are statistically evenly distributed between 256 directories. Default pack size is 16 MiB. Which means that for every 1TiB of repo size you can expect about 256 files per directory (if my maths are correct:)).
If you want to limit it you can increase pack size - see docs. Do your own calculations to find the right balance between your repo size and number of files limit of your provider.
2 Likes