//! Config path discovery helpers.
//!
//! Loading accepts either a direct file path or a root-like directory path. The
//! checks here stay intentionally shallow; config precedence and parse fallback
//! are handled by the parent loader.
use ;
/// Return a direct config file path when the user supplied a file.
pub
/// Return a directory root for config auto-discovery.
///
/// Nonexistent extensionless paths are treated as directory roots so callers can
/// ask for a project location before it has been created. Paths with an
/// extension are assumed to be explicit files and are not searched as dirs.
pub