pub fn assert_db_anchor_consistent(
resolved_db_path: Option<&Path>,
args_db: Option<&str>,
) -> Result<()>Expand description
Assert that a resolved db_path: which compute_config_id folds into a
process’s config_id: agrees with what resolve_db_anchor derives from
the same raw --db/KHIVE_DB input.
This compatibility entry point preserves the raw-string API. Construction
paths that already captured the anchor should call
assert_captured_db_anchor_consistent so they do not re-read mutable
process environment.