Expand description
Contract diff — detect drift between contract versions.
Compares two Contract values and produces a ContractDiff
listing added, removed, and changed sections. Suggests a semver
bump (major, minor, patch) based on the nature of the changes.
Structs§
- Contract
Diff - The result of diffing two contracts.
- Section
Diff - A change summary for one section of the contract.
Enums§
- Semver
Bump - Suggested semantic version bump.
Functions§
- diff_
contracts - Diff two contracts and produce a structured change report.
- is_
identical - True if the diff contains no changes at all.