use crate::storage::{PackFile, PackTime};

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct PublicationPointSnapshot {
    pub format_version: u32,
    pub manifest_rsync_uri: String,
    pub publication_point_rsync_uri: String,
    pub manifest_number_be: Vec<u8>,
    pub this_update: PackTime,
    pub next_update: PackTime,
    pub verified_at: PackTime,
    pub manifest_bytes: Vec<u8>,
    pub files: Vec<PackFile>,
}

impl PublicationPointSnapshot {
    pub const FORMAT_VERSION_V1: u32 = 1;
}
