ic-query 0.3.7

Internet Computer query CLI for NNS, SNS, ICRC, and related public network metadata
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Module: cache_file::json::announce
//!
//! Responsibility: render missing-cache refresh announcements.
//! Does not own: cache refresh policy, loaders, or command text reports.
//! Boundary: writes explicit live-call notices before automatic cache creation.

use std::path::Path;

pub fn announce_cache_refresh(component: &str, path: &Path, source_endpoint: &str) {
    eprintln!(
        "{component} cache missing at {}; calling {source_endpoint} to refresh/create cache",
        path.display()
    );
}