pub fn do_copy_overwrite(log: &ReplicaLogger, src: &Path, dst: &Path) -> std::io::Result<()> {
    if dst.exists() {
        std::fs::remove_file(&dst)?;
    }
    do_copy(log, src, dst)
}
/// Copies `src` into `dst` using do_copy semantics overwritting destination if
/// it exists
Copies `src` into `dst` using do_copy semantics overwritting destination if
it exists
Copies ` src ` into ` dst ` using do_copy semantics overwritting destination if it exists
pub fn do_copy_overwrite(log: &ReplicaLogger, src: &Path, dst: &Path) -> std::io::Result<()> {
    if dst.exists() {
        std::fs::remove_file(&dst)?;
    }
    do_copy(log, src, dst)
}
pub fn do_copy_overwrite ( log : & ReplicaLogger , src : & Path , dst : & Path ) -> std :: io :: Result < ( ) > { if dst . exists ( ) { std :: fs :: remove_file ( & dst ) ? ; } do_copy ( log , src , dst ) }
Copies `src` into `dst` using do_copy semantics overwritting destination if
it exists
Copies ` src ` into ` dst ` using do_copy semantics overwritting destination if it exists
log
&ReplicaLogger
src
&Path
dst
&Path
log
&ReplicaLogger
src
&Path
dst
&Path