struct

Barista::Behaviors::Omnibus::CacheCallbacks

Inherits Struct < Value < Object

Callbacks to specify how to update and restore the cache when building

Constructors

Instance 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.

Source
fetch
Source
initialize
Source
update

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.

Source
update
Source