[][src]Function lms::core::synchronize

pub fn synchronize<H>(
    src: &str,
    dest: &str,
    flags: HashSet<Flag, H>
) -> Result<(), Error> where
    H: BuildHasher + Sync + Send

Synchronizes all files, directories, and symlinks in dest with src

Arguments

  • src: Source directory
  • dest: Destination directory
  • flags: set for Flag's

Errors

This function will return an error in the following situations, but is not limited to just these cases:

  • src is an invalid directory
  • dest is an invalid directory