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

Method touch

v2/test/BoostBuild.py:364–372  ·  view source on GitHub ↗
(self, names, wait=True)

Source from the content-addressed store, hash-verified

362 os.utime(dst_name, (stats.st_atime, stats.st_mtime))
363
364 def touch(self, names, wait=True):
365 if names.__class__ is str:
366 names = [names]
367 for name in names:
368 path = self.native_file_name(name)
369 if wait:
370 self.__ensure_newer_than_last_build(path)
371 else:
372 os.utime(path, None)
373
374 def rm(self, names):
375 if not type(names) == types.ListType:

Callers 11

test_basicFunction · 0.95
stage.pyFile · 0.80
rescan_header.pyFile · 0.80
project_test3.pyFile · 0.80
resolution.pyFile · 0.80
rebuilds.pyFile · 0.80
ordered_include.pyFile · 0.80
regression.pyFile · 0.80

Calls 2

native_file_nameMethod · 0.95