MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / exclude_pattern

Method exclude_pattern

Lib/distutils/filelist.py:232–250  ·  view source on GitHub ↗

Remove strings (presumably filenames) from 'files' that match 'pattern'. Other parameters are the same as for 'include_pattern()', above. The list 'self.files' is modified in place. Return 1 if files are found.

(self, pattern, anchor=1, prefix=None, is_regex=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

process_template_lineMethod · 0.95
test_exclude_patternMethod · 0.95
prune_file_listMethod · 0.80

Calls 3

debug_printMethod · 0.95
translate_patternFunction · 0.85
searchMethod · 0.45

Tested by 1

test_exclude_patternMethod · 0.76