Skip to main content

sync_with

Function sync_with 

Source
pub(crate) fn sync_with(
    file: &File,
    strong: impl Fn(&File) -> Result<()>,
) -> Result<()>
Expand description

The seam the two above share, and the one a test can drive: strong is the barrier that might not be supported, and there is no way to make a real filesystem refuse F_FULLFSYNC on demand inside a unit test.