Function tauri_utils::write_if_changed
source ยท pub fn write_if_changed<P, C>(path: P, content: C) -> Result<()>
Expand description
Write the file only if the content of the existing file (if any) is different.
This will always write unless the file exists with identical content.