global: snapshot

This commit is contained in:
nym21
2025-12-25 22:21:12 +01:00
parent eadf93b804
commit bbb74b76c8
68 changed files with 6497 additions and 2659 deletions

View File

@@ -1,6 +1,6 @@
#![doc = include_str!("../README.md")]
use std::{io, result, time};
use std::{io, path::PathBuf, result, time};
use thiserror::Error;
@@ -123,6 +123,13 @@ pub enum Error {
#[error("Fetch failed after retries: {0}")]
FetchFailed(String),
#[error("Version mismatch at {path:?}: expected {expected}, found {found}")]
VersionMismatch {
path: PathBuf,
expected: usize,
found: usize,
},
}