cached_s5_manager 1.0.0 copy "cached_s5_manager: ^1.0.0" to clipboard
cached_s5_manager: ^1.0.0 copied to clipboard

A cache manager for cached_s5 libraries. It handles downloading & caching from an s5 object.

This is a simple cache manager for cached_s5 libraries.

Usage #

This is a library built on s5. See there for more details.

CachedS5Manager cacheManager = CachedS5Manager(s5: s5);
final Uint8List bytes = await cacheManager.getBytesFromCID("CID String"); // fetches & caches
cacheManager.clear(); // WARNING: this deletes all locally cached assets

Acknowledgement #

This work is supported by a Sia Foundation grant

0
likes
0
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

A cache manager for cached_s5 libraries. It handles downloading & caching from an s5 object.

Repository (GitHub)
View/report issues

Topics

#cache #s5

License

unknown (license)

Dependencies

flutter, path, path_provider, s5, universal_io

More

Packages that depend on cached_s5_manager