MCPcopy Index your code
hub / github.com/nodejs/node / write

Function write

configure.py:2385–2388  ·  view source on GitHub ↗
(filename, data)

Source from the content-addressed store, hash-verified

2383
2384
2385def write(filename, data):
2386 print_verbose(f'creating {filename}')
2387 with Path(filename).open(mode='w+', encoding='utf-8') as f:
2388 f.write(data)
2389
2390do_not_edit = '# Do not edit. Generated by the configure script.\n'
2391

Callers 2

configure_intlFunction · 0.70
configure.pyFile · 0.70

Calls 3

print_verboseFunction · 0.85
openMethod · 0.65
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…