atlas-common 0.1.1

Common functionality for Atlas ML provenance system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Hash validation utilities

use crate::error::Result;

/// Validate manifest hash format
///
/// Delegates to the hash module's validation function.
///
/// # Errors
///
/// Returns an error if the hash format is invalid.
pub fn validate_manifest_hash(hash: &str) -> Result<()> {
    crate::hash::validate_hash_format(hash)
}