MCPcopy Index your code
hub / github.com/perkeep/perkeep / isSharedMode

Function isSharedMode

dev/devcam/get.go:114–122  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

112}
113
114func isSharedMode(args []string) bool {
115 sharedRgx := regexp.MustCompile("--?shared")
116 for _, v := range args {
117 if sharedRgx.MatchString(v) {
118 return true
119 }
120 }
121 return false
122}

Callers 1

RunCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected