pub fn new(sync: &LocalRoot, system: &(Vec<SystemUser>, Vec<SystemGroup>)) -> Self {
        Self {
            add: Self::detect_add(sync, system),
            update: Self::detect_update(sync, system),
            remove: Self::detect_remove(sync, system),
        }
    }
/**
    Runs a diff between the sync file and local users and groups.

    # Parameters
    * `sync`: A reference to the `LocalRoot` of the sync file.
    * `system`: A reference to the tuple with the list of system users (0) and system groups (1).

    # Returns
    An instance of a `Differ` with the result of a diff.
     */
Runs a diff between the sync file and local users and groups.
Runs a diff between the sync file and local users and groups .
pub fn new(sync: &LocalRoot, system: &(Vec<SystemUser>, Vec<SystemGroup>)) -> Self {
        Self {
            add: Self::detect_add(sync, system),
            update: Self::detect_update(sync, system),
            remove: Self::detect_remove(sync, system),
        }
    }
pub fn new ( sync : & LocalRoot , system : & ( Vec < SystemUser > , Vec < SystemGroup > ) ) -> Self { Self { add : Self :: detect_add ( sync , system ) , update : Self :: detect_update ( sync , system ) , remove : Self :: detect_remove ( sync , system ) , } }
Runs a diff between the sync file and local users and groups.
Runs a diff between the sync file and local users and groups .
sync
&LocalRoot
system
&(Vec<SystemUser>, Vec<SystemGroup>)
An instance of a `Differ` with the result of a diff.
An instance of a ` Differ ` with the result of a diff .
sync
&LocalRoot
system
&(Vec<SystemUser>, Vec<SystemGroup>)