Skip to main content

default_hidden_paths

Function default_hidden_paths 

Source
pub fn default_hidden_paths() -> Vec<PathBuf>
Expand description

The secrets under $HOME that fs mode empties by default: what an injected command would look for first, and none of which a build needs.

The state directory is deliberately absent: it holds the scripts directory, which every run writes into, so a hide over it would be dropped every time and the status line would carry a warning that never means anything. A profile that keeps its own state elsewhere can add it. The paths [tools] shell_isolate_hide names when the file says nothing.

Public because the sandbox has to tell “this machine does not have ~/.aws” from “you spelled your own hide wrong”: the first is a suggestion that missed, the second leaves a file the person believes is withheld (#552).