MCPcopy Index your code
hub / github.com/python/cpython / fix_filenames

Method fix_filenames

Tools/c-analyzer/c_analyzer/info.py:311–315  ·  view source on GitHub ↗
(self, relroot=fsutil.USE_CWD, **kwargs)

Source from the content-addressed store, hash-verified

309 return self._analyzed[key]
310
311 def fix_filenames(self, relroot=fsutil.USE_CWD, **kwargs):
312 if relroot and relroot is not fsutil.USE_CWD:
313 relroot = os.path.abspath(relroot)
314 for item in self._analyzed:
315 item.fix_filename(relroot, fixroot=False, **kwargs)
316
317 def _add_result(self, info, resolved):
318 analyzed = type(self).build_item(info, resolved)

Callers 4

cmd_checkFunction · 0.80
cmd_analyzeFunction · 0.80
cmd_dataFunction · 0.80
main_for_filenamesFunction · 0.80

Calls 2

abspathMethod · 0.45
fix_filenameMethod · 0.45

Tested by

no test coverage detected