MCPcopy
hub / github.com/netdata/netdata / hasLinePrefix

Function hasLinePrefix

src/go/plugin/framework/functions/parser.go:167–169  ·  view source on GitHub ↗
(line, keyword string)

Source from the content-addressed store, hash-verified

165}
166
167func hasLinePrefix(line, keyword string) bool {
168 return line == keyword || strings.HasPrefix(line, keyword+" ")
169}
170
171func parseCancelEvent(line string) (inputEvent, error) {
172 parts := strings.Fields(line)

Callers 2

parseEventMethod · 0.85
handlePayloadLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…