constellation/csi/cryptmapper/cryptmapper_cross.go
Thomas Tendyck 3b9f7530fb license: change headers
find -name '*.go' -exec sed -i 's/SPDX-License-Identifier: AGPL-3.0-only/SPDX-License-Identifier: BUSL-1.1/' {} +
2025-07-15 23:34:48 +02:00

23 lines
415 B
Go

//go:build !linux || !cgo
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: BUSL-1.1
*/
package cryptmapper
import (
"errors"
ccryptsetup "github.com/edgelesssys/constellation/v2/internal/cryptsetup"
)
const (
resizeFlags = 0x800 | ccryptsetup.ReadWriteQueueBypass
)
func getDiskFormat(_ string) (string, error) {
return "", errors.New("getDiskFormat requires building with CGO enabled")
}