Skip to main content

is_protected_path

Function is_protected_path 

Source
pub fn is_protected_path(path: &str) -> bool
Expand description

Check if a file path targets a protected rippy configuration file.

Matches against:

  • Exact basename: .rippy, .rippy.toml, .dippy
  • Path suffixes: .rippy/config, .rippy/config.toml, .dippy/config