MCPcopy Create free account
hub / github.com/boostorg/build / glob_remove

Function glob_remove

test/BoostBuild.py:156–161  ·  view source on GitHub ↗
(sequence, pattern)

Source from the content-addressed store, hash-verified

154
155
156def glob_remove(sequence, pattern):
157 result = fnmatch.filter(sequence, pattern)
158 if not result:
159 raise ValueError()
160 for r in result:
161 sequence.remove(r)
162
163
164class Tester(TestCmd.TestCmd):

Callers 4

expect_additionMethod · 0.85
expect_removalMethod · 0.85
expect_modificationMethod · 0.85
expect_touchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected