You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function works as advertised, to the best of it's ability to.
As it works currently it properly indicates if a file relating to the ID provided exists within the cache. However, since the ID of the file does not change with file versioning a user of this SDK is unable to determine if a specific version of this file has been cached.
I was able to verify that internally the caching mechanism is taking the version into account, when it is given a BOXFile object with a different SHA-1 hash, it will trigger the download of that already cached file resulting in the latest version of it being stored locally.
It would be useful for the isFileWithIDCached to take the SHA-1 that way you could accurately anticipate which files need to be downloaded again to have their current versions available locally.
The text was updated successfully, but these errors were encountered:
This function works as advertised, to the best of it's ability to.
As it works currently it properly indicates if a file relating to the ID provided exists within the cache. However, since the ID of the file does not change with file versioning a user of this SDK is unable to determine if a specific version of this file has been cached.
I was able to verify that internally the caching mechanism is taking the version into account, when it is given a BOXFile object with a different SHA-1 hash, it will trigger the download of that already cached file resulting in the latest version of it being stored locally.
It would be useful for the isFileWithIDCached to take the SHA-1 that way you could accurately anticipate which files need to be downloaded again to have their current versions available locally.
The text was updated successfully, but these errors were encountered: