LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: 7724005d2127463d30fc67d700ccf4f6beed04be.info Lines: 88.4 % 190 168
Test Date: 2025-02-13 17:20:25 Functions: 54.8 % 42 23

Function Name Sort by function name Hit count Sort by function hit count
utils::crashsafe::create_dir::<_> 887
utils::crashsafe::create_dir::<&camino::Utf8Path> 885
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::<_, _> 31
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf> 31
utils::crashsafe::durable_rename::<_, _> 0
utils::crashsafe::durable_rename::<_, _>::{closure#0} 31
utils::crashsafe::durable_rename::<&camino::Utf8PathBuf, &camino::Utf8PathBuf>::{closure#0} 31
utils::crashsafe::durable_rename::<_, _>::{closure#0} 0
utils::crashsafe::fsync 1775
utils::crashsafe::fsync::{closure#0} 0
utils::crashsafe::fsync::{closure#1} 1775
utils::crashsafe::fsync::{closure#1}::{closure#0} 0
utils::crashsafe::fsync::{closure#2} 0
utils::crashsafe::fsync_async::<_> 116
utils::crashsafe::fsync_async::<&camino::Utf8Path> 54
utils::crashsafe::fsync_async::<&camino::Utf8Path>::{closure#0} 54
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_opt::<_> 62
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path> 62
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf> 0
utils::crashsafe::fsync_async_opt::<_> 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 62
utils::crashsafe::fsync_async_opt::<&camino::Utf8Path>::{closure#0} 62
utils::crashsafe::fsync_async_opt::<&camino::Utf8PathBuf>::{closure#0} 0
utils::crashsafe::fsync_async_opt::<_>::{closure#0} 0
utils::crashsafe::fsync_file_and_parent 885
utils::crashsafe::fsync_file_and_parent::{closure#0} 0
utils::crashsafe::overwrite 56
utils::crashsafe::path_with_suffix_extension::<_> 6432
utils::crashsafe::path_with_suffix_extension::<&&camino::Utf8PathBuf> 0
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8Path> 136
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8PathBuf> 6287
utils::crashsafe::path_with_suffix_extension::<_> 0
utils::crashsafe::path_with_suffix_extension:: 9
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