Skip to main content

durable_rename

Function durable_rename 

Source
pub fn durable_rename(source: &Path, destination: &Path) -> Result<(), Error>
Expand description

Publish flushed file data and durably update the source/destination entries. Windows uses MoveFileExW write-through; Unix syncs both rename directories. Existing reconstructible clone scopes can defer Unix barriers; installation uses Directory::durable_rename to bypass that explicit deferral.