prepare_cache#

prepare_cache(executor_id, cache_path)[source]#

Fail early if the cache path is not writable.

Otherwise Docker might spit misleading “Device or resource busy” message.

Parameters:
Return type:

Path