16 lines
193 B
Go
16 lines
193 B
Go
|
// +build windows
|
||
|
|
||
|
package adb
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"strings"
|
||
|
)
|
||
|
|
||
|
func access(path string) error {
|
||
|
if strings.Contains(path, ".exe") {
|
||
|
return nil
|
||
|
}
|
||
|
return errors.New("not an executable")
|
||
|
}
|