Skip to main content

Module path_utils

Module path_utils 

Source
Expand description

Path manipulation utilities.

Functions§

expand_path
Expand a path that may start with ~ to the full home directory path. Also strips a leading @ prefix (used by some tool interfaces).
resolve_read_path
Resolve a path for reading, trying macOS-specific variants if the initial path doesn’t exist.
resolve_to_cwd
Resolve a path relative to the given working directory. Handles ~ expansion and absolute paths.