Skip to main content

Module commands

Module commands 

Source
Expand description

The user-facing commands.

Each one returns a crate::Result; the binary turns an error into the matching exit code. Nothing here writes to stdout unless the command’s whole purpose is to produce output.

Modules§

diff
git-xcrypt diff — the textconv driver behind git diff on a secret.
export_key
git-xcrypt export-key — hand the repository key to the user, once.
filter
The long-running filter: one process for a whole git operation.
init
git-xcrypt init — make a repository ready to encrypt.
lock
git-xcrypt lock — close an unlocked repository, and delete its key.
process
git-xcrypt process — the entry point git itself calls.
status
git-xcrypt status — whether the declarations are actually enforced.
sync
git-xcrypt sync — regenerate the cosmetic lines in .gitattributes.
unlock
git-xcrypt unlock — make a cloned repository readable again.