Browse Source

fix GOOS

pull/2670/head 2.89
chrislu 3 years ago
parent
commit
ff666104c4
  1. 4
      weed/mount/unmount/unmount_std.go
  2. 8
      weed/mount/unmount/unmount_unsupported.go

4
weed/mount/unmount/unmount_std.go

@ -1,5 +1,5 @@
//go:build !linux
// +build !linux
//go:build !linux && !windows
// +build !linux,!windows
package unmount package unmount

8
weed/mount/unmount/unmount_unsupported.go

@ -0,0 +1,8 @@
//go:build windows
// +build windows
package unmount
func unmount(dir string) error {
return nil
}
Loading…
Cancel
Save