Module dots

Source

Functions§

expand_dots
Normalize the path, expanding occurrences of “.” and “..”.
expand_ndots
Normalize the path, expanding occurrences of n-dots.
expand_ndots_safe
Expand ndots, but only if it looks like it probably contains them, because there is some lossy path normalization that happens.