MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / canonical_normalized_path

Function canonical_normalized_path

pydevd_file_utils.py:411–420  ·  view source on GitHub ↗

This returns a filename that is canonical and it's meant to be used internally to store information on breakpoints and see if there's any hit on it. Note that this version is only internal as it may not match the case and may have symlinks resolved (and thus may not match what the

(filename)

Source from the content-addressed store, hash-verified

409
410
411def canonical_normalized_path(filename):
412 """
413 This returns a filename that is canonical and it's meant to be used internally
414 to store information on breakpoints and see if there's any hit on it.
415
416 Note that this version is only internal as it may not match the case and
417 may have symlinks resolved (and thus may not match what the user expects
418 in the editor).
419 """
420 return get_abs_path_real_path_and_base_from_file(filename)[1]
421
422
423def absolute_path(filename):

Callers 6

mainFunction · 0.90
can_skipFunction · 0.90
get_breakpointFunction · 0.90
get_breakpointFunction · 0.90
_load_filtersFunction · 0.90

Tested by 2

_load_filtersFunction · 0.72