Skip to content
Snippets Groups Projects
Commit c09a6135 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

fs-mistrust: refactor ResolvePath to avoid temporary changes.

Previously we would temporarily put self.resolved into an invalid
state by adding a path component that might be a symlink.  With this
change, we create a new temporary path object (using Cow to avoid
unnecessary allocations) and only conditionally replace
self.resolved.
parent 8e25954c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment