MCPcopy
hub / github.com/evilsocket/opensnitch / String

Method String

daemon/rule/operator.go:216–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214}
215
216func (o *Operator) String() string {
217 how := "is"
218 if o.Type == Regexp {
219 how = "matches"
220 }
221 return fmt.Sprintf("%s %s '%s'", log.Bold(string(o.Operand)), how, log.Yellow(string(o.Data)))
222}
223
224func (o *Operator) simpleCmp(v interface{}) bool {
225 if o.Sensitive == false {

Callers 1

MatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected