We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39a914 commit 51ff953Copy full SHA for 51ff953
pkg/cacheutil/cacheutil.go
@@ -10,7 +10,7 @@ import (
10
"github.com/lima-vm/lima/pkg/limayaml"
11
)
12
13
-// NerdctlArchive returns the basename of the archive
+// NerdctlArchive returns the basename of the archive.
14
func NerdctlArchive(y *limayaml.LimaYAML) string {
15
if *y.Containerd.System || *y.Containerd.User {
16
for _, f := range y.Containerd.Archives {
@@ -22,6 +22,8 @@ func NerdctlArchive(y *limayaml.LimaYAML) string {
22
return ""
23
}
24
25
+// EnsureNerdctlArchiveCache prefetches the archive into the cache.
26
+//
27
// EnsureNerdctlArchiveCache prefetches the nerdctl-full-VERSION-GOOS-GOARCH.tar.gz archive
28
// into the cache before launching the hostagent process, so that we can show the progress in tty.
29
// https://github.com/lima-vm/lima/issues/326
0 commit comments