Skip to main content

kopia_owner_for_lease

Function kopia_owner_for_lease 

Source
pub fn kopia_owner_for_lease(lease: &str) -> String
Expand description

The full user@hostname owner string kopia records for lease — what the mover compares maintenance info’s owner against, and what the bootstrap stamps on a repository it CREATES.

use kopiur_api::maintenance::kopia_owner_for_lease;

assert_eq!(kopia_owner_for_lease("kopiur/media/nas"), "kopiur@kopiur-media-nas");