func AsWindowsContainerLayerPair() WriteDiffOpt {
	return func(options *WriteDiffOptions) error {
		options.writeDiffFunc = writeDiffWindowsLayers
		return nil
	}
}
AsWindowsContainerLayerPair indicates that the paths to diff are a pair of
Windows Container Layers. The caller must be holding SeBackupPrivilege.
package archive
import (
	"context"
	"io"
	"github.com/Microsoft/hcsshim/pkg/ociwclayer"
)
func applyWindowsLayer(ctx context.Context, root string, r io.Reader, options ApplyOptions) (size int64, err error) {
	return ociwclayer.ImportLayerFromTar(ctx, r, root, options.Parents)
}
func AsWindowsContainerLayer() ApplyOpt {
	return func(options *ApplyOptions) error {
		options.applyFunc = applyWindowsLayer
		return nil
	}
}
func writeDiffWindowsLayers(ctx context.Context, w io.Writer, _, layer string, options WriteDiffOptions) error {
	return ociwclayer.ExportLayerToTar(ctx, w, layer, options.ParentLayers)
}