Skip to main content

parse

Function parse 

Source
pub fn parse(text: &str) -> Result<Registry, TrackingError>
Expand description

Parse and bound a registry, then confirm the version and the source formats. Path existence and freshness are the service’s checks.

§Errors

TrackingError::Bounds when a bound is exceeded, TrackingError::Shape when the document does not fit the schema, and TrackingError::Semantic for a version mismatch, a duplicate id or dependent, or a bad source field.