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

Function shouldIgnore

pkg/compose/watch.go:837–841  ·  pkg/compose/watch.go::shouldIgnore
(name string, ignore watch.PathMatcher)

Source from the content-addressed store, hash-verified

835}
836
837func shouldIgnore(name string, ignore watch.PathMatcher) bool {
838 shouldIgnore, _ := ignore.Matches(name)
839 // ignore files that match any ignore pattern
840 return shouldIgnore
841}
842
843// gets the image creation time for a service
844func (s *composeService) imageCreatedTime(ctx context.Context, project *types.Project, serviceName string) (time.Time, error) {

Callers 1

initialSyncFilesMethod · 0.85

Calls 1

MatchesMethod · 0.65

Tested by

no test coverage detected