pub fn restore_resolved_project(
root: &Path,
modules: &[ModuleInfo],
files: &[DiscoveredFile],
cached: &CachedResolvedProject,
) -> Option<ResolvedProject>Expand description
Restore a resolved project from cached resolver payloads and current parsed modules.
Returns None if the payload no longer aligns with the current parse result.
A normal graph-cache manifest hit should keep these aligned; this extra check
keeps corrupt or hand-edited cache files on the safe miss path.