Struct rusync::sync::Syncer [−][src]
pub struct Syncer { /* fields omitted */ }
Methods
impl Syncer
[src]
impl Syncer
pub fn new(source: &Path, destination: &Path) -> Syncer
[src]
pub fn new(source: &Path, destination: &Path) -> Syncer
pub fn preserve_permissions(&mut self, preserve_permissions: bool)
[src]
pub fn preserve_permissions(&mut self, preserve_permissions: bool)
pub fn sync(self) -> Result<Stats, String>
[src]
pub fn sync(self) -> Result<Stats, String>