14 lines
196 B
Go
14 lines
196 B
Go
|
package internal
|
||
|
|
||
|
import "path"
|
||
|
|
||
|
var (
|
||
|
Fsu = compPoison
|
||
|
Fshim = compPoison
|
||
|
Finit = compPoison
|
||
|
)
|
||
|
|
||
|
func Path(p string) (string, bool) {
|
||
|
return p, p != compPoison && p != "" && path.IsAbs(p)
|
||
|
}
|