mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 14:22:04 +08:00
12 lines
192 B
Go
12 lines
192 B
Go
//go:build !windows && !plan9 && !js && !noselfupdate
|
|
|
|
package selfupdate
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func writable(path string) bool {
|
|
return unix.Access(path, unix.W_OK) == nil
|
|
}
|