goadb/adb/executable_unix.go
2020-07-13 14:18:10 +08:00

10 lines
180 B
Go

// +build darwin freebsd linux netbsd openbsd
package adb
import "golang.org/x/sys/unix"
func isExecutableOnPlatform(path string) error {
return unix.Access(path, unix.X_OK)
}