Tracking Issue for normalize_lexically (original) (raw)

Feature gate: #![feature(normalize_lexically)]

This is a tracking issue for Path::normalize_lexically that is used to normalize a path, including .. parent references, without touching the filesystem.

Public API

// std::path

impl Path { pub fn normalize_lexically(&self) -> Result<PathBuf, NormalizeError> { }

Steps / History

Unresolved Questions

The last two can be summarised as: should this strictly require paths to be sub-paths?

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html