diff options
| author | Weihao Jiang <weihau.chiang@gmail.com> | 2025-05-23 23:21:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 08:21:46 -0700 |
| commit | ea70d17c5f65ad2af58b5d181979cf644bd2827b (patch) | |
| tree | 30483f2b5d6723aa07a8ce30c8ea51aefa038389 /weed/command/fuse_notsupported.go | |
| parent | 2e1506c31e962b560924df44bfe10d89d7eea8f6 (diff) | |
| download | seaweedfs-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.go | 15 |
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 +} |
