Skip to main content

Module path

Module path 

Source

Structs§

FsPathCompleter
A PathCompleter that lists directories on the local filesystem.

Functions§

absolutize
Expands ~ and makes a path absolute, preserving the user-selected filesystem location. . and .. components are normalized so equivalent addressings of one location compare and store identically; a .. whose preceding component exists on disk follows that component’s real nature (see [parent_step]).
expand_home
Expands a leading ~ to the user’s home directory; any other path is left unchanged.
normalize
Normalizes a config path for identity comparison: absolutizes it, then canonicalizes existing paths so aliases naming the same file compare equal.
registered_config_path
Resolves a registered config only when its stored path is independent of the caller’s directory.