Skip to main content

resolve_depth

Function resolve_depth 

Source
pub fn resolve_depth(repo_root: &Path, global: usize) -> usize
Expand description

The depth to walk repo_root with, given the global setting.

Resolution order is the same one every other tunable follows: the repository’s own .devprune.json wins over the global setting, which wins over the default. A config that will not parse is not consulted — the caller reports that repository as a config_error and never gets here — so this deliberately looks only at a config it could read.