Skip to main content

source_kopia_path

Function source_kopia_path 

Source
pub fn source_kopia_path(
    source: &Source,
    index: usize,
    policy_namespace: &str,
) -> Option<String>
Expand description

The kopia source path ONE policy source records, by index — the per-source form of identity_source_path, for the status.resolved.sources[] mirror.

Same derivation, so a human reading status sees exactly what kopia stores: /pvc/<name>, the NFS export path, /stream/<fileName>, or an explicit sourcePathOverride. None only for a selector source, whose path is per-member and therefore not a property of the source alone.