MCPcopy Create free account
hub / github.com/ElementsProject/elements / write_file_lines

Function write_file_lines

contrib/devtools/copyright_header.py:328–331  ·  view source on GitHub ↗
(filename, file_lines)

Source from the content-addressed store, hash-verified

326 return file_lines
327
328def write_file_lines(filename, file_lines):
329 f = open(filename, 'w', encoding="utf8")
330 f.write(''.join(file_lines))
331 f.close()
332
333################################################################################
334# update header years execution

Callers 3

insert_script_headerFunction · 0.85
insert_cpp_headerFunction · 0.85

Calls 3

writeMethod · 0.45
joinMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected