The file_size value for a directory should be the sum of size of all items underneath it #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Right now, the
file_sizefor a directory is always set to 0. However, it would be beneficial to have this value set to the sum total of allfile_sizes for entries inside that directory.For example: If a directory contains 3 items out of which 2 are files, each of size 2 GB and another directory whose contents amount to a total of 1 GB, then the
file_sizeof the current directory shall be set to (2 + 2 + 1 =) 5 GB (in bytes).WON'T FIX (NOTE): This requires us to write code that can potentially cause enormous memory consumption (in case the file-tree for a folder is bigger than what could/should be held in memory) or we would have to create a task based system which would be a very different approach requiring redesign of the system on many fronts. These changes are out of scope of the free/open version as of now. Hence it will NOT BE DONE. Not right now at least. The project, milestone etc. are being removed for the same.