teamy-mft 0.7.0

TeamDman's Master File Table CLI and library for NTFS.
use crate::sync::IfExistsOutputBehaviour;
use crate::windows_utils::storage::DriveLetterPattern;
use arbitrary::Arbitrary;
use facet::Facet;
use figue::{self as args};

#[derive(Facet, PartialEq, Debug, Arbitrary, Default, Clone)]
pub struct SyncPlan {
    /// Drive letter pattern to match drives to sync (e.g., "*", "C", "CD", "C,D"). Compatibility alias: `--drive`.
    #[facet(args::named, args::long_alias = "drive", default)]
    pub drive_letter_pattern: DriveLetterPattern,

    /// How to handle existing output files
    #[facet(args::named, default)]
    pub if_exists: IfExistsOutputBehaviour,

    /// Optional path to reflect into the published overlay index without rebuilding a full drive index
    #[facet(args::positional, default)]
    pub path: Option<String>,
}