ic-query 0.96.0

Internet Computer query library for CloudEngine, 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
//! Inputs for confined descriptor-based refresh exclusion.

use std::path::Path;

///
/// RefreshLockRequest
///
/// Capability root and persistent coordination sidecar for one cache refresh.
///

#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct RefreshLockRequest<'a> {
    /// Capability root that confines the sidecar.
    pub cache_root: &'a Path,
    /// Persistent empty regular sidecar, never unlinked during ordinary operation.
    pub lock_path: &'a Path,
}