pub fn read_legacy_project_root_candidate_read_only(
path: &Path,
) -> DbResult<Option<String>>Expand description
Read an untrusted predecessor root candidate without creating, migrating, or repairing a database.
This is recovery evidence for selecting a filesystem candidate only. It is never an authoritative project identity and callers must canonicalize the candidate through the live filesystem before opening a project database. Current databases intentionally return no candidate because their typed native identity is the only authority. A predecessor candidate is returned only when the schema-owned policy can establish that its legacy projection is usable; otherwise the typed native-identity error is returned.
ยงErrors
Returns an error when the database cannot be inspected read-only or its predecessor schema is incompatible or malformed.