mirror of
https://github.com/lima-vm/lima.git
synced 2026-10-28 19:54:35 +08:00
The boilerplate is added for Go files, shell scripts, and Makefiles. https://github.com/containerd/ltag is used for validating the boilerplates. - hack/ltag: ltag templates - .github/workflows/test.yml: ltag is executed for validation Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
22 lines
437 B
Bash
Executable File
22 lines
437 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# SPDX-FileCopyrightText: Copyright The Lima Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -eu -o pipefail
|
|
cache_dir="${HOME}/Library/Caches"
|
|
if [ "$(uname -s)" != "Darwin" ]; then
|
|
cache_dir="${HOME}/.cache"
|
|
fi
|
|
if [ ! -e "${cache_dir}/lima/download/by-url-sha256" ]; then
|
|
echo "No cache"
|
|
exit 0
|
|
fi
|
|
for f in "${cache_dir}/lima/download/by-url-sha256/"*; do
|
|
echo "$f"
|
|
ls -l "$f"
|
|
cat "${f}/url"
|
|
echo
|
|
echo ---
|
|
done
|