LCOV - code coverage report
Current view: top level - libs/utils/src - crashsafe.rs (source / functions) Coverage Total Hit
Test: a43a77853355b937a79c57b07a8f05607cf29e6c.info Lines: 88.0 % 191 168
Test Date: 2024-09-19 12:04:32 Functions: 50.0 % 42 21

Function Name Sort by function name Hit count Sort by function hit count
utils::crashsafe::create_dir::<_> 1221
utils::crashsafe::create_dir::<&camino::Utf8Path> 1219
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 2443
utils::crashsafe::fsync::{closure#0} 0
utils::crashsafe::fsync::{closure#1} 2443
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 1219
utils::crashsafe::fsync_file_and_parent::{closure#0} 0
utils::crashsafe::overwrite 84
utils::crashsafe::path_with_suffix_extension::<_> 8498
utils::crashsafe::path_with_suffix_extension::<&&camino::Utf8PathBuf> 0
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8Path> 138
utils::crashsafe::path_with_suffix_extension::<&camino::Utf8PathBuf> 8349
utils::crashsafe::path_with_suffix_extension::<_> 0
utils::crashsafe::path_with_suffix_extension:: 11
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