pub fn updated_project_lock(
project_root: &Path,
) -> Result<String, Vec<Diagnostic>>Expand description
Build the canonical lock candidate for an explicit project update.
Existing version and digest fields may be stale, but the lock must remain readable so its template identity can be preserved. The returned source must still pass a complete staged project compilation before it replaces the current lock.
ยงErrors
Returns root configuration, lock parsing, or unsupported preset diagnostics.