goadb/executable_unix.go
2016-08-26 20:25:25 -05: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)
}