Skip to main content

drift_document

Function drift_document 

Source
pub fn drift_document(findings: &[ProjectDrift]) -> Value
Expand description

The document emitted by devp status --drift --json.

A separate document from plain status because it answers a different question: not “what could a prune reclaim” but “what would a prune refuse, and why”. An empty drift array means nothing was detected, across the adapters that can compare an environment against its lockfile from files alone.