MCPcopy Index your code
hub / github.com/numpy/numpy / write_text

Method write_text

tools/c_coverage/c_coverage_report.py:94–97  ·  view source on GitHub ↗
(self, root)

Source from the content-addressed store, hash-verified

92 return re.sub(r"[^A-Za-z0-9\.]", '_', path)
93
94 def write_text(self, root):
95 for path, source in self.files.items():
96 with open(os.path.join(root, self.clean_path(path)), "w") as fd:
97 source.write_text(fd)
98
99 def write_html(self, root):
100 for path, source in self.files.items():

Callers

nothing calls this directly

Calls 5

clean_pathMethod · 0.95
openFunction · 0.85
itemsMethod · 0.80
joinMethod · 0.80
write_textMethod · 0.45

Tested by

no test coverage detected