Skip to main content

detect_with_marker

Function detect_with_marker 

Source
pub fn detect_with_marker(workspace: &Path, marker: &str) -> bool
Expand description

Return true when workspace contains the given marker file.

Signature kept generic so both JS ("package.json") and TS ("tsconfig.json") can reuse it.