mirror of
https://github.com/moby/buildkit.git
synced 2026-06-24 08:47:57 +00:00
Co-authored-by: Derek McGowan <derek@mcg.dev> Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
21 lines
576 B
Go
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)
|
|
}
|