LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: cfaaa34581ff7b961872805c00c841b2acf066bc.info Lines: 86.3 % 190 164
Test Date: 2025-03-19 20:17:13 Functions: 54.8 % 42 23

Function Name Sort by function name Hit count Sort by function hit count
utils::crashsafe::fsync::{closure#0} 0
utils::crashsafe::fsync::{closure#1}::{closure#0} 0
utils::crashsafe::fsync::{closure#2} 0
utils::crashsafe::fsync_file_and_parent::{closure#0} 0
utils::crashsafe::syncfs::<_> 0
utils::crashsafe::syncfs::<_> 0
utils::crashsafe::syncfs:: 0
utils::crashsafe::syncfs:: 0
utils::crashsafe::tests::test_create_dir_all_fsyncd 1
utils::crashsafe::tests::test_create_dir_fsyncd 1
utils::crashsafe::tests::test_path_with_suffix_extension 1
utils::crashsafe::create_dir_all::<_> 5
utils::crashsafe::create_dir_all::<_> 0
utils::crashsafe::create_dir_all::<&camino::Utf8Path> 1
utils::crashsafe::create_dir_all:: 1
utils::crashsafe::create_dir_all::<&camino::Utf8PathBuf> 3
utils::crashsafe::durable_rename::<_, _> 36
utils::crashsafe::durable_rename::<_, _> 0
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf> 36
utils::crashsafe::durable_rename::<_, _>::{closure#0} 36
utils::crashsafe::durable_rename::<_, _>::{closure#0} 0
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf>::{closure#0} 36
utils::crashsafe::overwrite 56
utils::crashsafe::fsync_async_opt::<_> 71
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf> 0
utils::crashsafe::fsync_async_opt::<_> 0
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path> 71
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 71
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path>::{closure#0} 71
utils::crashsafe::fsync_async::<_> 134
utils::crashsafe::fsync_async::<_> 0
utils::crashsafe::fsync_async::<_>::{closure#0} 0
utils::crashsafe::fsync_async:: 4
utils::crashsafe::fsync_async::::{closure#0} 4
utils::crashsafe::fsync_async::<&camino::Utf8Path> 63
utils::crashsafe::fsync_async::<&camino::Utf8Path>::{closure#0} 63
utils::crashsafe::fsync_file_and_parent 893
utils::crashsafe::create_dir::<_> 895
utils::crashsafe::create_dir::<_> 0
utils::crashsafe::create_dir:: 2
utils::crashsafe::create_dir::<&camino::Utf8Path> 893
utils::crashsafe::fsync 1791
utils::crashsafe::fsync::{closure#1} 1791
utils::crashsafe::path_with_suffix_extension::<_> 6371
utils::crashsafe::path_with_suffix_extension::<&&camino::Utf8PathBuf> 0
utils::crashsafe::path_with_suffix_extension::<_> 0
utils::crashsafe::path_with_suffix_extension:: 9
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8Path> 136
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8PathBuf> 6226

Generated by: LCOV version 2.1-beta