has_changed

Function has_changed 

Source
pub async fn has_changed(
    src: impl AsRef<Path>,
    dst: impl AsRef<Path>,
) -> Result<bool>
Expand description

Returns whether a destination file depending on a source file needs update.

If it does and the destination file exists, it is deleted. A file named like the destination file and suffixed with .orig is created.