Redesign custom canonicalize, enable multiple dots expansion earlier. (#1588)

* Expand n dots early where tilde was also expanded.

* Remove normalize, not needed.
New function absolutize, doesn't follow links neither checks existence.
Renamed canonicalize_existing to canonicalize, works as expected.

* Remove normalize usages, change canonicalize.

* Treat strings as paths
This commit is contained in:
Kevin Del Castillo
2020-04-15 18:29:22 -05:00
committed by GitHub
parent 59d516064c
commit 928188b18e
5 changed files with 85 additions and 101 deletions

View File

@ -1,6 +1,7 @@
mod files;
mod lite_parse;
mod parse;
mod path;
mod shapes;
mod signature;