Skip to content
Snippets Groups Projects

Allow for more complicated directory paths

Merged Jeremy Soller requested to merge cactorium:master into master

Created by: cactorium

This allows multiple ".." and "." parts to be used in a uncanonicalized path. Previously trying to access a path with "file:/home/user/../.." results in a ENOENT error, because that was canonicalized into "file:/home/..". This more correctly resolves the path to "file:". Unfortunately it adds another allocation, because I don't think it's possible to reverse an iterator unless it's backed in memory; there is probably a more efficient way to do this with more involved logic.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading