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

Method write

v2/test/BoostBuild.py:341–349  ·  view source on GitHub ↗
(self, file, content, wait=True)

Source from the content-addressed store, hash-verified

339 os.path.walk(".", make_writable, None)
340
341 def write(self, file, content, wait=True):
342 nfile = self.native_file_name(file)
343 self.__makedirs(os.path.dirname(nfile), wait)
344 f = open(nfile, "wb")
345 try:
346 f.write(content)
347 finally:
348 f.close()
349 self.__ensure_newer_than_last_build(nfile)
350
351 def copy(self, src, dst):
352 try:

Callers 15

basicFunction · 0.95
ignore_minus_nFunction · 0.95
failed_targetFunction · 0.95
missing_targetFunction · 0.95
build_onceFunction · 0.95
return_statusFunction · 0.95
save_restoreFunction · 0.95
basic_jam_action_testFunction · 0.95
_initFunction · 0.95

Calls 3

native_file_nameMethod · 0.95
__makedirsMethod · 0.95