MCPcopy Create free account
hub / github.com/Facets-cloud/flow / pairArg

Function pairArg

internal/app/background_test.go:413–420  ·  view source on GitHub ↗
(ss []string, flag, val string)

Source from the content-addressed store, hash-verified

411}
412
413func pairArg(ss []string, flag, val string) bool {
414 for i := 0; i+1 < len(ss); i++ {
415 if ss[i] == flag && ss[i+1] == val {
416 return true
417 }
418 }
419 return false
420}

Calls

no outgoing calls

Tested by

no test coverage detected