pub fn relative_label(root: &Path, path: &Path) -> StringExpand description
Render path relative to root with forward slashes; "." when they are equal.
Used for every user-facing directory label so that frontend/node_modules reads the
same on Windows as on Linux, and so the interactive selector can address a specific
nested directory unambiguously.