//! Generic, language-agnostic project-detection helpers shared by plugins.
//!
//! These answer "is this a project of kind X on disk?" — a concern distinct from
//! the parsing contract in [`plugin`](crate::plugin). Keeping them here lets every
//! plugin reuse the helper without depending on a sibling plugin or pulling
//! detection logic into the contract.
use Path;
/// Return `true` when `workspace` contains the given marker file. A generic,
/// language-agnostic detection helper for marker-based plugins (e.g. JS →
/// `"package.json"`, TS → `"tsconfig.json"`).