internal/

directory
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: MIT

Directories

Path Synopsis
Package apply executes the reviewer's verdicts against the git working tree: approved items are left alone, rejected items are reverted (via `git checkout <base_ref> -- <path>` for tracked files, or `os.Remove` for untracked-added files).
Package apply executes the reviewer's verdicts against the git working tree: approved items are left alone, rejected items are reverted (via `git checkout <base_ref> -- <path>` for tracked files, or `os.Remove` for untracked-added files).
Package config loads and validates the per-project snapdiff.toml.
Package config loads and validates the per-project snapdiff.toml.
Package gallery enumerates all snapshot PNGs in a repository's working tree (subject to the configured globs).
Package gallery enumerates all snapshot PNGs in a repository's working tree (subject to the configured globs).
Package gitscan enumerates snapshot diffs in a git repo: files matching configured globs whose content differs between a base ref and the working tree (or which are untracked / deleted).
Package gitscan enumerates snapshot diffs in a git repo: files matching configured globs whose content differs between a base ref and the working tree (or which are untracked / deleted).
Package imdiff renders a per-pixel highlight overlay PNG comparing a baseline image to a current image.
Package imdiff renders a per-pixel highlight overlay PNG comparing a baseline image to a current image.
Package lifecycle owns the daemon shutdown sequence: once the reviewer finalizes the session, linger briefly so the browser can render the success state, then gracefully shut down the HTTP server.
Package lifecycle owns the daemon shutdown sequence: once the reviewer finalizes the session, linger briefly so the browser can render the success state, then gracefully shut down the HTTP server.
Package review holds the in-memory state for one review cycle: the list of diffed snapshots, per-file verdicts, and a "done" signal channel closed when the reviewer hits Finalize.
Package review holds the in-memory state for one review cycle: the list of diffed snapshots, per-file verdicts, and a "done" signal channel closed when the reviewer hits Finalize.
web
Package web wires the chi router, templ views, and static assets that make up the snapdiff review UI.
Package web wires the chi router, templ views, and static assets that make up the snapdiff review UI.
views
templ: version: v0.3.1020
templ: version: v0.3.1020

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL