Module fs_mistrust::anon_home

source ·
Available on crate feature anon_home only.
Expand description

Replace the home-directory in a filename with ${HOME} or %UserProfile%

In some privacy-sensitive applications, we want to lower the amount of personally identifying information in our logs. In such environments, it’s good to avoid logging the actual value of the home directory, since those frequently identify the user.

Structs§

  • A wrapper for Path which, when displayed, replaces the home directory with a symbolic reference.

Traits§