pub struct DataValidator {
pub repo_path: PathBuf,
}Fields§
§repo_path: PathBufImplementations§
Source§impl DataValidator
impl DataValidator
pub fn new<P: AsRef<Path>>(repo_path: P) -> Self
Sourcepub fn commit_exists(&self, sha: &str) -> bool
pub fn commit_exists(&self, sha: &str) -> bool
Check if a commit SHA exists in the Git DAG
Sourcepub fn validate_all(&self, namespaces: &[Namespace]) -> Result<ValidationReport>
pub fn validate_all(&self, namespaces: &[Namespace]) -> Result<ValidationReport>
Run full integrity audit across all refs/notes/*
Auto Trait Implementations§
impl Freeze for DataValidator
impl RefUnwindSafe for DataValidator
impl Send for DataValidator
impl Sync for DataValidator
impl Unpin for DataValidator
impl UnsafeUnpin for DataValidator
impl UnwindSafe for DataValidator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more