pub fn load_blob_cache(
path: &Path,
) -> Result<BlobSchemaCache, BlobCacheLoadError>Expand description
Load a blob-to-schema cache from a plain-text file.
File format: one entry per line,
<git_blob_oid> <protocol_name> <file_schema_panproto_id>. Every
entry carries a non-empty protocol slot; a line with a missing or
empty protocol is rejected as corrupt so the caller can delete the
file and reimport rather than round-trip through an empty slot.
§Errors
Returns BlobCacheLoadError::Io for I/O problems other than a
missing file (missing yields an empty cache), and
BlobCacheLoadError::Corrupt if any line cannot be parsed.