Skip to main content

needs_write

Function needs_write 

Source
pub fn needs_write(dest: &Path) -> bool
Expand description

Whether a bundled resource’s embedded bytes are written to dest: only where it is missing or an empty regular file (#312’s truncated leftover). A non-empty file in place is used as-is, a user’s or an older release’s; a directory still goes to the write and its error.