ic-query 0.26.8

Internet Computer query library for NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
//! Module: cache_file::lock
//!
//! Responsibility: shared refresh-lock acquisition and cleanup.
//! Does not own: cache refresh work or cache report serialization.
//! Boundary: exposes lock requests and guarded execution helpers.

mod acquire;
mod guard;
mod model;
mod run;
#[cfg(test)]
mod tests;

#[cfg(any(feature = "host", test))]
pub use acquire::inspect_refresh_lock;
#[cfg(any(feature = "host", test))]
pub use model::RefreshLockEvidence;
pub use model::RefreshLockRequest;
pub use run::with_refresh_lock;