pub fn diff(previous: &Path, current: &Path) -> Result<(), String>Expand description
fz tables diff: what changed between two versions of a manifest’s
declaration, and what each change costs.
The counterpart of drift, and the reason both exist: this is the
question before a deploy — “I edited the declaration; can I ship
it?” — and drift is the question after one. Neither answers the
other, and a database is only involved in the second.
Exits non-zero when anything changed, for the same reason drift
does: the finding is the point, and a CI job comparing a branch’s
manifest against main’s needs something to branch on.
§Errors
A message when either manifest cannot be read or is not valid, and a summary line when the report was not empty.