Skip to main content

is_sensitive_file

Function is_sensitive_file 

Source
pub fn is_sensitive_file(name: &str) -> bool
Expand description

Returns true if name matches any entry in SENSITIVE_FILES or starts with .env. (catches all dotenv variants).