yui/marker.rs
1//! `.yuilink` marker file detection.
2//!
3//! Under `marker` strategy, a directory containing the configured marker file
4//! (default `.yuilink`) is the link point — `yui` creates a single
5//! junction/symlink for that directory and stops recursing.
6
7use camino::Utf8Path;
8
9pub fn is_marker_dir(dir: &Utf8Path, marker_filename: &str) -> bool {
10 dir.join(marker_filename).is_file()
11}