Documentation
¶
Overview ¶
capslock-git-diff lists package capabilities that were added between two revisions of a git repository.
Usage example:
capslock-git-diff main mybranch somepath/...
This requires Capslock to be installed:
go install github.com/google/capslock/cmd/capslock@latest
To compare against the current state of the repository, specify "." as a revision:
capslock-git-diff main . somepath/...
If only two arguments are supplied, all packages under the current directory are used.
If the environment variable CAPSLOCKTOOLSTMPDIR is set and non-empty, it specifies the directory where temporary files are created. Otherwise the system temporary directory is used.
Click to show internal directories.
Click to hide internal directories.