mirror of
https://github.com/rclone/rclone.git
synced 2025-02-08 15:01:44 +08:00
12 lines
168 B
Go
12 lines
168 B
Go
// +build !windows,!plan9,!js
|
|
|
|
package selfupdate
|
|
|
|
import (
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func writable(path string) bool {
|
|
return unix.Access(path, unix.W_OK) == nil
|
|
}
|