yui-cli 0.0.1

Target-as-truth dotfiles manager: edit your live configs, source repo updates automatically via hardlink/junction/symlink.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `.yuilink` marker file detection.
//!
//! Under `marker` strategy, a directory containing the configured marker file
//! (default `.yuilink`) is the link point — `yui` creates a single
//! junction/symlink for that directory and stops recursing.

use camino::Utf8Path;

pub fn is_marker_dir(dir: &Utf8Path, marker_filename: &str) -> bool {
    dir.join(marker_filename).is_file()
}