swift package experimental-api-diff <treeish>
Diagnose API-breaking changes to Swift modules in a package
Arguments
Name | Description |
---|---|
treeish | The baseline treeish to compare to (e.g. a commit hash, branch name, tag, etc.) |
Options
Name | Description |
---|---|
--help, -h, -help | Show help information |
--version | Show the version |
--invert-baseline | Invert the baseline which is helpful for determining API additions |