Cache Functions
outputCached
Is output cached?
Usage
outputCached [ context ] [ hash ]
Is output cached?
Location:
bin/build/tools/cache.sh
Arguments
context- String. Context (group) for this content.hash- String. Unique code for this content.
Writes to standard output
Cached content
Return codes
1- Content is NOT cached0- Content was cached and is output to stdout
outputCache
Collect cached content to output later
Usage
outputCache context hash
Collect cached content to output later
Location:
bin/build/tools/cache.sh
Arguments
context- String. Required. Context (group) for this content.hash- String. Required. Unique code for this content.
Reads standard input
Content to cache
Return codes
0- Success1- Environment error2- Argument error
outputCacheClean
Delete all content in output cache
Usage
outputCacheClean [ context ... ]
Deletes the cache directory and all cached content.
Location:
bin/build/tools/cache.sh
Arguments
context ...- String. Optional. Clean this context of all cached content.
Return codes
0- Success1- Environment error2- Argument error