fs-util: add conservative_rename() that suppresses unnecessary renames
if the source and destination file match in contents and basic file attributes, don#t rename, but just remove source. This is a simple way to suppress inotify events + mtime changes when atomically updating files.
Loading
Please register or sign in to comment