fortify/internal/path.go
Ophestra Umiker 88abcbe0b2
All checks were successful
test / test (push) Successful in 24s
cmd/fsu: remove import of internal package
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
2024-11-04 12:32:14 +09:00

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)
}