ic-query 0.30.2

Internet Computer query library for NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Module: cache_file::write
//!
//! Responsibility: shared atomic and refresh-cache write helpers.
//! Does not own: JSON cache schemas, refresh locking internals, or report construction.
//! Boundary: exposes parent creation, atomic text writes, and refresh publication helpers.

#[cfg(any(feature = "nns-host", feature = "subnet-catalog-host"))]
mod output;
#[cfg(any(feature = "nns-host", feature = "subnet-catalog-host"))]
mod path;
#[cfg(feature = "nns-host")]
mod refresh;

#[cfg(any(feature = "nns-host", feature = "subnet-catalog-host"))]
pub use output::write_text_output;
#[cfg(feature = "nns-host")]
pub use refresh::{RefreshCacheWriteRequest, RefreshCacheWriteResult, write_json_refresh_cache};