MCPcopy Index your code
hub / github.com/coder/coder / matchAll

Function matchAll

testutil/fake_sink.go:78–88  ·  view source on GitHub ↗
(e slog.SinkEntry, filters []func(slog.SinkEntry) bool)

Source from the content-addressed store, hash-verified

76}
77
78func matchAll(e slog.SinkEntry, filters []func(slog.SinkEntry) bool) bool {
79 for _, f := range filters {
80 if f == nil {
81 continue
82 }
83 if !f(e) {
84 return false
85 }
86 }
87 return true
88}

Callers 1

EntriesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected