Barista::Behaviors::Omnibus::CacheCallbacks
Inherits Struct < Value < Object
Callbacks to specify how to update and restore the cache when building
Constructors
new
SourceInstance methods
fetch
Takes a block with a CacheInfo parameter
to define how the artifact for a given task is fetched
Return true if the fetch was successfull.
Return false if the fetch failed.
fetch
Sourceinitialize
Sourceupdate
Takes a block with a Task and the Path where the compressed artifact
currently resides
Return true if the update was successfull.
Return false if the update failed.
update
Source