Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wtguard
command
|
|
|
internal
|
|
|
audit
Package audit writes one JSON line per wtguard decision to the global and per-repo audit logs.
|
Package audit writes one JSON line per wtguard decision to the global and per-repo audit logs. |
|
config
Package config is a typed view over the wtguard.* keys in `git config`.
|
Package config is a typed view over the wtguard.* keys in `git config`. |
|
git
Package git is a typed wrapper over `git` invoked via os/exec.
|
Package git is a typed wrapper over `git` invoked via os/exec. |
|
guard
Package guard is the single source of truth for "should this commit be blocked?".
|
Package guard is the single source of truth for "should this commit be blocked?". |
|
hook
Package hook installs / removes the wtguard pre-commit shim, chaining any pre-existing user hook to pre-commit.local.
|
Package hook installs / removes the wtguard pre-commit shim, chaining any pre-existing user hook to pre-commit.local. |
|
proxy
Package proxy implements wtguard's git-wrapper mode.
|
Package proxy implements wtguard's git-wrapper mode. |
|
remote
Package remote applies GitHub branch protection via the `gh` CLI.
|
Package remote applies GitHub branch protection via the `gh` CLI. |
|
shellrc
Package shellrc patches a user's shell rc file with a marker-guarded block that prepends wtguard's bin dir to PATH.
|
Package shellrc patches a user's shell rc file with a marker-guarded block that prepends wtguard's bin dir to PATH. |
|
template
Package template writes a hook shim into ~/.wtguard/template/hooks so every future `git init`/`git clone` ships with the wtguard hook (when init.templateDir is pointed at us).
|
Package template writes a hook shim into ~/.wtguard/template/hooks so every future `git init`/`git clone` ships with the wtguard hook (when init.templateDir is pointed at us). |
Click to show internal directories.
Click to hide internal directories.