LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 88.0 % 191 168
Test Date: 2024-10-22 22:13:45 Functions: 50.0 % 42 21

Function Name Sort by function name Hit count Sort by function hit count
utils::crashsafe::create_dir::<_> 407
utils::crashsafe::create_dir::<&camino::Utf8Path> 405
utils::crashsafe::create_dir::<_> 0
utils::crashsafe::create_dir:: 2
utils::crashsafe::create_dir_all::<_> 5
utils::crashsafe::create_dir_all::<&camino::Utf8Path> 1
utils::crashsafe::create_dir_all::<&camino::Utf8PathBuf> 3
utils::crashsafe::create_dir_all::<_> 0
utils::crashsafe::create_dir_all:: 1
utils::crashsafe::durable_rename::<_, _> 2
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf> 2
utils::crashsafe::durable_rename::<_, _> 0
utils::crashsafe::durable_rename::<_, _>::{closure#0} 2
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf>::{closure#0} 2
utils::crashsafe::durable_rename::<_, _>::{closure#0} 0
utils::crashsafe::fsync 815
utils::crashsafe::fsync::{closure#0} 0
utils::crashsafe::fsync::{closure#1} 815
utils::crashsafe::fsync::{closure#1}::{closure#0} 0
utils::crashsafe::fsync::{closure#2} 0
utils::crashsafe::fsync_async::<_> 12
utils::crashsafe::fsync_async::<&camino::Utf8Path> 6
utils::crashsafe::fsync_async::<&camino::Utf8Path>::{closure#0} 6
utils::crashsafe::fsync_async::<_> 0
utils::crashsafe::fsync_async::<_>::{closure#0} 0
utils::crashsafe::fsync_async:: 0
utils::crashsafe::fsync_async::::{closure#0} 0
utils::crashsafe::fsync_async_opt::<_> 6
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path> 6
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf> 0
utils::crashsafe::fsync_async_opt::<_> 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 6
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path>::{closure#0} 6
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 0
utils::crashsafe::fsync_file_and_parent 405
utils::crashsafe::fsync_file_and_parent::{closure#0} 0
utils::crashsafe::overwrite 28
utils::crashsafe::path_with_suffix_extension::<_> 2938
utils::crashsafe::path_with_suffix_extension::<&&camino::Utf8PathBuf> 0
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8Path> 70
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8PathBuf> 2861
utils::crashsafe::path_with_suffix_extension::<_> 0
utils::crashsafe::path_with_suffix_extension:: 7
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

Generated by: LCOV version 2.1-beta