Function persist

Source
pub async fn persist(
    snapshot: &GlobalSnapshot,
    site_id: String,
) -> Result<String>
Expand description

Persists a global snapshot to disk

Saves the snapshot as a JSON file with a timestamp in the filename.