pub(super) fn resolve_path(
work_dir: &Path,
relative: &str,
) -> Result<PathBuf, String>Expand description
Resolve a relative path against work_dir, rejecting traversal attempts.
- Absolute paths are rejected.
..components that would escapework_dirare rejected.