mirror of
https://github.com/rclone/rclone.git
synced 2025-10-06 05:47:10 +02:00
This now compiles but the link doesn't work because of https://github.com/golang/go/issues/64856
12 lines
201 B
Go
12 lines
201 B
Go
//go:build !windows && !plan9 && !js && !noselfupdate && !wasm
|
|
|
|
package selfupdate
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func writable(path string) bool {
|
|
return unix.Access(path, unix.W_OK) == nil
|
|
}
|