pub async fn decide(
docker: &DockerClient,
step: &CommandStep,
) -> Result<CacheDecision>Expand description
Decide cache outcome for a step against the local Docker daemon.
Returns hit (snapshot already present), miss-with-tag (run and commit
afterwards), or miss-no-commit (cache.policy == "none" or no cache
key).
ยงErrors
Returns an error if the Docker daemon image_exists call fails.