Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 535 Bytes

text_file_cache.md

File metadata and controls

16 lines (11 loc) · 535 Bytes

TextCache class

Handles text file caching. Must specify a filename and path underneath assets/.

Methods

clear Clears all data from the cache.
get Returns a String, by filename, from the cache.
load loads a single file into the cache. Returns a String Future.
remove Removes a single String, by filename, from the cache.

For an overview of how to setup your assets, see the getting started guide.