Coverage Report

Created: 2025-09-27 06:48

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/rust/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/fs/sync.rs
Line
Count
Source
1
use crate::backend;
2
3
/// `sync`—Flush cached filesystem data for all filesystems.
4
///
5
/// # References
6
///  - [POSIX]
7
///  - [Linux]
8
///
9
/// [POSIX]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/sync.html
10
/// [Linux]: https://man7.org/linux/man-pages/man2/sync.2.html
11
#[inline]
12
0
pub fn sync() {
13
0
    backend::fs::syscalls::sync();
14
0
}