We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e743530 + 4968e97 commit 3d44ec2Copy full SHA for 3d44ec2
source/manager.go
@@ -32,7 +32,7 @@ type SourceInstance interface {
32
// CacheKey returns the cache key for the instance.
33
CacheKey(ctx context.Context, g session.Group, index int) (key, pin string, opts solver.CacheOpts, done bool, err error)
34
35
- // Snapshot creates a cache ref for the instance.
+ // Snapshot creates a cache ref for the instance. May return a nil ref if source points to empty content, e.g. image without any layers.
36
Snapshot(ctx context.Context, g session.Group) (cache.ImmutableRef, error)
37
}
38
0 commit comments