Skip to main content

default_development_path_rules

Function default_development_path_rules 

Source
pub fn default_development_path_rules(home: &Path) -> Vec<PathAccessRule>
Expand description

Paths ordinary local development commands can use without another grant.

Covers common Rust, Python, Node/JS, Go, C/C++, Nix, and polyglot version-manager toolchains and build caches. Toolchain binaries, interpreters, and non-secret config files stay read-only; package and compiler caches are writable only when they already exist on disk (or are explicitly pointed to by toolchain environment variables), so Merry never opens all of $XDG_CACHE_HOME or creates empty directories in $HOME for unused languages. Credentials under $HOME (such as ~/.cargo/credentials.toml, ~/.npmrc, ~/.pypirc, ~/.netrc, ~/.ssh, ~/.aws, ~/.gnupg) are never included.