LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 91.5 % 188 172
Test Date: 2024-02-14 18:05:35 Functions: 69.0 % 42 29

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::tests::test_create_dir_all_fsyncd 2
utils::crashsafe::tests::test_create_dir_all_fsyncd::{closure#0} 2
utils::crashsafe::tests::test_create_dir_fsyncd 2
utils::crashsafe::tests::test_create_dir_fsyncd::{closure#0} 2
utils::crashsafe::tests::test_path_with_suffix_extension 2
utils::crashsafe::tests::test_path_with_suffix_extension::{closure#0} 2
utils::crashsafe::create_dir_all::<_> 409
utils::crashsafe::create_dir_all::<_> 0
utils::crashsafe::create_dir_all::<&camino::Utf8Path> 2
utils::crashsafe::create_dir_all::<&camino::Utf8PathBuf> 6
utils::crashsafe::create_dir_all:: 401
utils::crashsafe::create_dir::<_> 1155
utils::crashsafe::create_dir::<_> 0
utils::crashsafe::create_dir:: 4
utils::crashsafe::create_dir::<&camino::Utf8Path> 1151
utils::crashsafe::fsync_file_and_parent 3552
utils::crashsafe::durable_rename::<_, _> 6249
utils::crashsafe::durable_rename::<_, _> 0
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf> 6249
utils::crashsafe::durable_rename::<_, _>::{closure#0} 6249
utils::crashsafe::durable_rename::<_, _>::{closure#0} 0
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf>::{closure#0} 6249
utils::crashsafe::overwrite 8859
utils::crashsafe::fsync 9078
utils::crashsafe::fsync::{closure#1} 9078
utils::crashsafe::fsync_async_opt::<_> 18747
utils::crashsafe::fsync_async_opt::<_> 0
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path> 18747
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 18747
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path>::{closure#0} 18747
utils::crashsafe::fsync_async::<_> 21956
utils::crashsafe::fsync_async::<_> 0
utils::crashsafe::fsync_async::<_>::{closure#0} 0
utils::crashsafe::fsync_async::<&camino::Utf8Path> 12
utils::crashsafe::fsync_async::<&camino::Utf8Path>::{closure#0} 12
utils::crashsafe::fsync_async:: 171
utils::crashsafe::fsync_async::::{closure#0} 171
utils::crashsafe::fsync_async::<&camino::Utf8PathBuf> 10795
utils::crashsafe::fsync_async::<&camino::Utf8PathBuf>::{closure#0} 10795
utils::crashsafe::path_with_suffix_extension::<_> 35140
utils::crashsafe::path_with_suffix_extension::<_> 0
utils::crashsafe::path_with_suffix_extension::<&&camino::Utf8PathBuf> 97
utils::crashsafe::path_with_suffix_extension:: 1987
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8Path> 2972
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8PathBuf> 30084

Generated by: LCOV version 2.1-beta