aboutsummaryrefslogtreecommitdiff
path: root/weed/command/fuse_notsupported.go
diff options
context:
space:
mode:
authorWeihao Jiang <weihau.chiang@gmail.com>2025-05-23 23:21:46 +0800
committerGitHub <noreply@github.com>2025-05-23 08:21:46 -0700
commitea70d17c5f65ad2af58b5d181979cf644bd2827b (patch)
tree30483f2b5d6723aa07a8ce30c8ea51aefa038389 /weed/command/fuse_notsupported.go
parent2e1506c31e962b560924df44bfe10d89d7eea8f6 (diff)
downloadseaweedfs-ea70d17c5f65ad2af58b5d181979cf644bd2827b.tar.xz
seaweedfs-ea70d17c5f65ad2af58b5d181979cf644bd2827b.zip
Make fuse command linux/MacOS only (#6811)
Diffstat (limited to 'weed/command/fuse_notsupported.go')
-rw-r--r--weed/command/fuse_notsupported.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/weed/command/fuse_notsupported.go b/weed/command/fuse_notsupported.go
new file mode 100644
index 000000000..dc47bd566
--- /dev/null
+++ b/weed/command/fuse_notsupported.go
@@ -0,0 +1,15 @@
+//go:build !linux && !darwin
+// +build !linux,!darwin
+
+package command
+
+import (
+ "fmt"
+ "runtime"
+)
+
+func runFuse(cmd *Command, args []string) bool {
+ fmt.Printf("Fuse is not supported on %s %s\n", runtime.GOOS, runtime.GOARCH)
+
+ return true
+}