MCPcopy
hub / github.com/docker/compose / EmptyMatcher

Struct EmptyMatcher

pkg/watch/notify.go:76–76  ·  view source on GitHub ↗

EmptyMatcher is a PathMatcher to match no path

Source from the content-addressed store, hash-verified

74
75// EmptyMatcher is a PathMatcher to match no path
76type EmptyMatcher struct{}
77
78func (EmptyMatcher) Matches(f string) (bool, error) { return false, nil }
79func (EmptyMatcher) MatchesEntireDir(f string) (bool, error) { return false, nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected