// CombineLayersWCOW combines `layerPaths` with `containerRootPath` into the
// container file system.
//
// Note: `layerPaths` and `containerRootPath` are paths from within the UVM.
CombineLayersWCOW combines `layerPaths` with `containerRootPath` into the
container file system.

`layerPaths` and `containerRootPath` are paths from within the UVM.
// CombineLayersWCOW combines ` layerPaths ` with ` containerRootPath ` into the // container file system . // // Note : ` layerPaths ` and ` containerRootPath ` are paths from within the UVM .
func (uvm *UtilityVM) CombineLayersWCOW(ctx context.Context, layerPaths []hcsschema.Layer, containerRootPath string) error {
	if uvm.operatingSystem != "windows" {
		return errNotSupported
	}
	msr := &hcsschema.ModifySettingRequest{
		GuestRequest: guestrequest.GuestRequest{
			ResourceType: guestrequest.ResourceTypeCombinedLayers,
			RequestType:  requesttype.Add,
			Settings: guestrequest.WCOWCombinedLayers{
				ContainerRootPath: containerRootPath,
				Layers:            layerPaths,
			},
		},
	}
	return uvm.modify(ctx, msr)
}
func ( uvm * UtilityVM ) CombineLayersWCOW ( ctx context . Context , layerPaths [ ] hcsschema . Layer , containerRootPath string ) error { if uvm . operatingSystem != " " { return errNotSupported } msr := & hcsschema . ModifySettingRequest { GuestRequest : guestrequest . GuestRequest { ResourceType : guestrequest . ResourceTypeCombinedLayers , RequestType : requesttype . Add , Settings : guestrequest . WCOWCombinedLayers { ContainerRootPath : containerRootPath , Layers : layerPaths , } , } , } return uvm . modify ( ctx , msr ) }
CombineLayersWCOW combines `layerPaths` with `containerRootPath` into the
container file system.
CombineLayersWCOW combines ` layerPaths ` with ` containerRootPath ` into the container file system .