MCPcopy Create free account
hub / github.com/numpy/numpy / clean_path

Method clean_path

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

Source from the content-addressed store, hash-verified

90 return self.files[path]
91
92 def clean_path(self, path):
93 path = path[len(self.prefix):]
94 return re.sub(r"[^A-Za-z0-9\.]", '_', path)
95
96 def write_text(self, root):
97 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