summaryrefslogtreecommitdiff
path: root/crates/fs-mistrust/src/anon_home.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken build and tests after arti!700.Alexander Færøy2022-08-311-3/+4
| | | | | | | | | | | | | This patch fixes a minor build error where we would call `compact_home()` on Windows instead of `anonymize_home()` on our PathBuf instance. Additionally we change how the `arti_conf` path is constructed such that we join the individual path components to ensure that no "/" ends up being present on Windows where path's are separated by "\". See: tpo/core/arti#555. See: tpo/core/arti!700.
* fs-mistrust: Add a `anonymize_home` extension fn for Path.Nick Mathewson2022-08-311-0/+153
This function transforms `/home/nickm/.config` to `${HOME}/.config/`, so that we can expose the username less in our logs.