MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / isRedirectOperator

Function isRedirectOperator

tools/bash/validation.go:289–296  ·  view source on GitHub ↗
(t string)

Source from the content-addressed store, hash-verified

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

Callers 1

extractAllArgPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected