(t string)
| 287 | } |
| 288 | |
| 289 | func isRedirectOperator(t string) bool { |
| 290 | switch t { |
| 291 | case ">", ">>", "<", "2>", "1>", "&>", "|": |
| 292 | return true |
| 293 | default: |
| 294 | return false |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | func IsPathWithinWorkspace(path string, workspaceRoot string) bool { |
| 299 | resolved, err := resolvePath(path) |
no outgoing calls
no test coverage detected