Skip to main content

Module path_utils

Module path_utils 

Source
Expand description

Path manipulation utilities: cross platform canonicalization, tilde expansion, and directory distance penalties for search scoring.

Functionsยง

calculate_distance_penalty
Calculate distance penalty based on directory proximity. Returns a negative penalty score based on how far the candidate is from the current file.
canonicalize
expand_tilde