[][src]Trait reorger::FileMover

pub trait FileMover {
    fn relocate(
        &self,
        source_file: &Path,
        destination_directory: &Path
    ) -> Result<()>;
fn copy(&self, source: &Path, destination: &Path) -> Result<()>;
fn remove(&self, p: &Path) -> Result<()>; }

Required methods

fn relocate(
    &self,
    source_file: &Path,
    destination_directory: &Path
) -> Result<()>

fn copy(&self, source: &Path, destination: &Path) -> Result<()>

fn remove(&self, p: &Path) -> Result<()>

Loading content...

Implementors

impl FileMover for DryRunFileMover[src]

impl FileMover for OsFileMover[src]

Loading content...