Upload files into subdirectories in Sia
Fornax96 opened this issue · comments
Fornax commented
Files are currently all dumped in one dir. But it would be better to use subdirectories. We can give each file a random ID and encode it to hex. Then use the first two nibbles of the hex string as directory names.
File e3b0c44298fc1c149afbf4c8996fb924
will be stored as /e/3/e3b0c44298fc1c149afbf4c8996fb924
.