(basepath string)
| 90 | } |
| 91 | |
| 92 | func isValidBasepath(basepath string) (error, bool) { |
| 93 | if whiskerr, ok := hasPathPrefix(basepath); !ok { |
| 94 | return whiskerr, false |
| 95 | } |
| 96 | return nil, true |
| 97 | } |
| 98 | |
| 99 | func isValidRelpath(relpath string) (error, bool) { |
| 100 | if whiskerr, ok := hasPathPrefix(relpath); !ok { |
no test coverage detected