We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ccdf51 commit 5eba305Copy full SHA for 5eba305
internal/cryptsetup/ext4_fallback.go
@@ -0,0 +1,18 @@
1
+// Copyright 2025 Edgeless Systems GmbH
2
+// SPDX-License-Identifier: BUSL-1.1
3
+
4
+//go:build !linux
5
6
+package cryptsetup
7
8
+import "context"
9
10
+// IsExt4 is not implemented for non-Linux systems.
11
+func (d *Device) IsExt4(context.Context) (bool, error) {
12
+ panic("GOOS does not support cryptesetup")
13
+}
14
15
+// MkfsExt4 is not implemented for non-Linux systems.
16
+func (d *Device) MkfsExt4(context.Context) error {
17
18
internal/cryptsetup/ext4.go renamed to internal/cryptsetup/ext4_linux.go
@@ -1,6 +1,8 @@
// Copyright 2025 Edgeless Systems GmbH
// SPDX-License-Identifier: BUSL-1.1
+//go:build linux
package cryptsetup
import (
0 commit comments