[−][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 directorydest
: Destination directoryflags
: 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 directorydest
is an invalid directory