App::Toodledo::TaskCache - Manage a local cache of Toodledo tasks
This is neither fast nor space efficient. It uses YAML to store the tasks. This has the advantage of producing a human-readable cache but that's about the only advantage. Go ahead and send a patch for SQLite if you can. That'll facilitate selective updating of the cache.
Return true if the cache file exists and is nonempty.
Load the cache from the file.
Store the cache to the file.
A hashref of App::Toodledo::Task objects.
Unix time the cache was last written. Use for comparing with time of the last operation on the Toodledo server.
Override the routine
_cache_filename in this package if you want to change the filename used for the cache.
It returns the concatenation of the user's home directory with the class attribute
If you just want to change the name of the file and keep it in the home directory,
Filename attribute (declared with
class_has via MooseX::ClassAttribute).
cpan at psdt.com