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

Method glob_file

v2/test/BoostBuild.py:517–530  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

515 self.fail_test(1, dump_stdio=False)
516
517 def glob_file(self, name):
518 result = None
519 if hasattr(self, "difference"):
520 for f in (self.difference.added_files +
521 self.difference.modified_files +
522 self.difference.touched_files):
523 if fnmatch.fnmatch(f, name):
524 result = self.native_file_name(f)
525 break
526 if not result:
527 result = glob.glob(self.native_file_name(name))
528 if result:
529 result = result[0]
530 return result
531
532 def read(self, name, binary=False):
533 try:

Callers 3

rmMethod · 0.95
readMethod · 0.95
read_and_stripMethod · 0.95

Calls 1

native_file_nameMethod · 0.95

Tested by

no test coverage detected