Function commit

Source
fn commit(source: File, target: &Path) -> Result<()>