LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: 8b13a09a5c233d98abd4a0d3e59157e7db16d6fd.info Lines: 87.9 % 190 167
Test Date: 2024-11-21 10:53:51 Functions: 50.0 % 42 21

Function Name Sort by function name Hit count Sort by function hit count
utils::crashsafe::create_dir::<_> 415
utils::crashsafe::create_dir::<&camino::Utf8Path> 413
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::<_, _> 4
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf> 4
utils::crashsafe::durable_rename::<_, _> 0
utils::crashsafe::durable_rename::<_, _>::{closure#0} 4
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf>::{closure#0} 4
utils::crashsafe::durable_rename::<_, _>::{closure#0} 0
utils::crashsafe::fsync 831
utils::crashsafe::fsync::{closure#0} 0
utils::crashsafe::fsync::{closure#1} 831
utils::crashsafe::fsync::{closure#1}::{closure#0} 0
utils::crashsafe::fsync::{closure#2} 0
utils::crashsafe::fsync_async::<_> 4
utils::crashsafe::fsync_async::<&camino::Utf8Path> 0
utils::crashsafe::fsync_async::<&camino::Utf8Path>::{closure#0} 0
utils::crashsafe::fsync_async::<_> 0
utils::crashsafe::fsync_async::<_>::{closure#0} 0
utils::crashsafe::fsync_async:: 2
utils::crashsafe::fsync_async::::{closure#0} 2
utils::crashsafe::fsync_async_opt::<_> 8
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path> 8
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf> 0
utils::crashsafe::fsync_async_opt::<_> 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 8
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path>::{closure#0} 8
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 0
utils::crashsafe::fsync_file_and_parent 413
utils::crashsafe::fsync_file_and_parent::{closure#0} 0
utils::crashsafe::overwrite 28
utils::crashsafe::path_with_suffix_extension::<_> 2927
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> 2850
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