Files
buildkit/snapshot/diffapply_unsupported.go
Marat Radchenko 5be7edb69c Upgrade to containerd 2
Co-authored-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2025-01-13 16:42:48 -08:00

21 lines
576 B
Go

//go:build !linux
package snapshot
import (
"context"
"runtime"
"github.com/containerd/containerd/v2/core/leases"
"github.com/containerd/containerd/v2/core/snapshots"
"github.com/pkg/errors"
)
func (sn *mergeSnapshotter) diffApply(_ context.Context, _ Mountable, _ ...Diff) (_ snapshots.Usage, rerr error) {
return snapshots.Usage{}, errors.New("diffApply not yet supported on " + runtime.GOOS)
}
func needsUserXAttr(_ context.Context, _ Snapshotter, _ leases.Manager) (bool, error) {
return false, errors.New("needs userxattr not supported on " + runtime.GOOS)
}