-
-
Notifications
You must be signed in to change notification settings - Fork 452
Get cache size #239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What's the usecase that you need to know the directory path? |
To calculate the cache size as mentioned in #83 |
I've been thinking about adding the getFilePath again, but that is not really a great solution. For example for web there is not really a path, so it wouldn't be consistent over platforms. I think it is better to implement a method to get the cache size. Would that be a good alternative for you? |
Yea, i've checked the previous version of the package and figured out how to add the "getFilePath" method to my custom implementation. |
same question |
Is there currently a way to get the total size of cache and the number of objects cached? |
Is this implemented? |
Related to #398 |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
in the previous version 1.x.x, we can use the
await DefaultCacheManager().getFilePath()
syntax to get the default cache directory path. how should we get that path in the new version 2 since there is no "getFilePath()" method anymore?Thanks in advance
The text was updated successfully, but these errors were encountered: