MCPcopy Index your code
hub / github.com/nikivdev/go / hasCodexCdArg

Function hasCodexCdArg

cli/spec/main.go:785–792  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

783}
784
785func hasCodexCdArg(args []string) bool {
786 for _, arg := range args {
787 if arg == "-C" || arg == "--cd" || strings.HasPrefix(arg, "--cd=") {
788 return true
789 }
790 }
791 return false
792}
793
794func hasCodexPermissionArg(args []string) bool {
795 for _, arg := range args {

Callers 1

runExecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected