1 2 3 4 5 6 7 8 9
//! Process-global pack cache test synchronization. pub use crate::pack::pack_cache_test_sync::PackCacheTestGuard; /// Serializes tests that mutate the process-global pack cache (including [`crate::objects::pack::clear_pack_cache`]). #[must_use] pub fn pack_cache_guard() -> PackCacheTestGuard { crate::pack::pack_cache_test_sync::acquire() }