Tracking Issue for normalize_lexically
#134694
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
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
Steps / History
normalize_lexically
#134696Unresolved Questions
&mut self
and normalize in-place? Normalizing a path just removes components..
path.base_path.join(user_path.normalize_lexically()?)
can still escape the base path.The last two can be summarised as: should this strictly require paths to be sub-paths?
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: