Skip to main content

import_identity_hash

Function import_identity_hash 

Source
fn import_identity_hash(catalog: &str, schemas: &[String]) -> String
Expand description

FNV-1a over (catalog, schemas). The output is part of the persisted state filename, so we cannot use std::collections::hash_map::DefaultHasher - Rust does not guarantee its algorithm across releases, which would make a state file written by one toolchain undiscoverable by another.