pub fn atomic_replace_with_hooks(
dir: &PinnedDir,
name: &OsStr,
content: &[u8],
sync: ReplaceSync,
hooks: &mut impl ReplaceHooks,
) -> Result<()>pub fn atomic_replace_with_hooks(
dir: &PinnedDir,
name: &OsStr,
content: &[u8],
sync: ReplaceSync,
hooks: &mut impl ReplaceHooks,
) -> Result<()>