MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / basename

Function basename

pydevd_file_utils.py:430–434  ·  view source on GitHub ↗

Provides the basename for a file.

(filename)

Source from the content-addressed store, hash-verified

428
429
430def basename(filename):
431 """
432 Provides the basename for a file.
433 """
434 return get_abs_path_real_path_and_base_from_file(filename)[2]
435
436
437# Returns tuple of absolute path and real path for given filename

Callers 7

_get_paused_nameFunction · 0.90
_get_bootstrap_frameFunction · 0.85
get_frame_nameMethod · 0.85
get_referrer_infoFunction · 0.85
short_frameFunction · 0.85
__init__Method · 0.85

Tested by

no test coverage detected