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

Method clean_path

tools/c_coverage/c_coverage_report.py:90–92  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

88 return self.files[path]
89
90 def clean_path(self, path):
91 path = path[len(self.prefix):]
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():

Callers 2

write_textMethod · 0.95
write_htmlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected