Expand description
Path-string utilities shared across config loading, env-file reading, and the template engine.
Functions§
- display_
under_ root - The spelling of
pathrelative to the repo root it lives under: what anodizer prints for a repo-committed file, and what it handsgit add. Components are joined with/on every platform (slash_display). - expand_
tilde - Expand a leading
~into the user’s home directory. - expand_
tilde_ with_ env EnvSource-injecting form ofexpand_tilde.- probe_
dir - A guaranteed-to-exist working directory for cwd-agnostic subprocess probes.
- slash_
display pathrendered with/between components on every platform: the spelling a config, a git pathspec and a log line share, so a message or a structural test compares the same text on Windows as on Unix.