Skip to main content

config_like

Function config_like 

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

Whether a path’s BASENAME is config-like: *.json, *.toml, *.yaml, *.yml, *config*, .*rc*, .*ignore, or a lockfile. Basename only, so src/config/app.ts is not config.