Skip to main content

assert_catalog_readable

Function assert_catalog_readable 

Source
pub fn assert_catalog_readable(
    path: &Path,
    catalog: &Catalog,
) -> Result<(), HaysonSchemaError>
Expand description

Parses the catalog’s own serialized form back before it is allowed near the disk — a catalog this build could write but not read back would leave the next open() unable to see its tables.