MCPcopy Create free account
hub / github.com/docker/docker-py / match

Method match

docker/utils/build.py:259–260  ·  view source on GitHub ↗
(self, filepath)

Source from the content-addressed store, hash-verified

257 return split
258
259 def match(self, filepath):
260 return fnmatch(normalize_slashes(filepath), self.cleaned_pattern)

Callers 6

ctrl_withFunction · 0.80
fnmatchcaseFunction · 0.80
match_tagFunction · 0.80
matchesMethod · 0.80
split_portFunction · 0.80
json_splitterFunction · 0.80

Calls 2

fnmatchFunction · 0.90
normalize_slashesFunction · 0.85

Tested by

no test coverage detected