Skip to main content

DEFAULT_SCAN_DEPTH

Constant DEFAULT_SCAN_DEPTH 

Source
pub const DEFAULT_SCAN_DEPTH: usize = 6;
Expand description

How far below a repository root project discovery descends, by default.

Six covers packages/scope/name/… monorepo layouts with room to spare while keeping the walk bounded on repositories with deep source trees. Configurable with devp config set scan_depth, and per repository with "scan_depth" in .devprune.json, because “deep enough” is a property of the layout, not of the tool.