Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix GOOS

chrisluff666104c45a
diff --git a/weed/mount/unmount/unmount_std.go b/weed/mount/unmount/unmount_std.go
index 76267fb6ad..410eb12352 100644
--- a/weed/mount/unmount/unmount_std.go
+++ b/weed/mount/unmount/unmount_std.go
@@ -1,5 +1,5 @@
-//go:build !linux
-// +build !linux
+//go:build !linux && !windows
+// +build !linux,!windows
package unmount
diff --git a/weed/mount/unmount/unmount_unsupported.go b/weed/mount/unmount/unmount_unsupported.go
new file mode 100644
index 0000000000..d0a94cc4a1
--- /dev/null
+++ b/weed/mount/unmount/unmount_unsupported.go
@@ -0,0 +1,8 @@
+//go:build windows
+// +build windows
+
+package unmount
+
+func unmount(dir string) error {
+ return nil
+}