Skip to main content

Module detect

Module detect 

Source

Structs§

DetectionResult
Result of scanning a project directory for VCS and build system markers.

Enums§

BuildSystem
Build systems detected by the presence of their marker files.
VcsType
Version control systems that prj can detect.

Constants§

ARTIFACT_DIR_NAMES
Known artifact directory names (used during scan to skip).

Functions§

detect_project
Detect VCS, build systems, and artifact directories for a given path.
is_project
Returns true if the given path looks like a project root.
scan_projects
Scan a directory tree for projects up to max_depth. Skips children of already-detected projects and artifact directories.