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

Method write

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

Source from the content-addressed store, hash-verified

341 os.path.walk(".", make_writable, None)
342
343 def write(self, file, content, wait=True):
344 nfile = self.native_file_name(file)
345 self.__makedirs(os.path.dirname(nfile), wait)
346 f = open(nfile, "wb")
347 try:
348 f.write(content)
349 finally:
350 f.close()
351 self.__ensure_newer_than_last_build(nfile)
352
353 def copy(self, src, dst):
354 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