when an Object is shared by multiple Share or even inside the same Share (for instance, the webui share have two times the same folder), we instanciate mutliple times an Object instance and do multiple time the API request to fetch details.
We can create a pool/cache of Object where we will look into to see if an Object already exist with the same hash and use it.
check if a directory with the same childs but different name for this childs have a different hash (I think it does)
functions to compute the number of blocks, size, progress should still work without change, even with the deduplication.
when an Object is shared by multiple Share or even inside the same Share (for instance, the webui share have two times the same folder), we instanciate mutliple times an Object instance and do multiple time the API request to fetch details.
We can create a pool/cache of Object where we will look into to see if an Object already exist with the same hash and use it.