internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT

Directories

Path Synopsis
Package cache is the Cache port: a disposable local store for upstream responses and derived data.
Package cache is the Cache port: a disposable local store for upstream responses and derived data.
sqlite
Package sqlite is the Cache adapter backed by a sqlite file, normally $XDG_STATE_HOME/scrutiny/cache.db.
Package sqlite is the Cache adapter backed by a sqlite file, normally $XDG_STATE_HOME/scrutiny/cache.db.
Package codehost is the CodeHost port: Pull Requests and review state on the code host, which is the source of truth for review state.
Package codehost is the CodeHost port: Pull Requests and review state on the code host, which is the source of truth for review state.
github
Package github is the CodeHost adapter for github.com: REST reads with ETag conditional requests cached in the Cache port, and GraphQL for review state and writes.
Package github is the CodeHost adapter for github.com: REST reads with ETag conditional requests cached in the Cache port, and GraphQL for review state and writes.
Package domain holds the core types shared by every layer.
Package domain holds the core types shared by every layer.
Package highlight is the Highlighter port: source code to highlighted tokens.
Package highlight is the Highlighter port: source code to highlighted tokens.
treesitter
Package treesitter is the Highlighter adapter backed by tree-sitter grammars and their highlights.scm queries.
Package treesitter is the Highlighter adapter backed by tree-sitter grammars and their highlights.scm queries.
treesitter/markdown
Package markdown is a cgo binding for the tree-sitter Markdown block grammar (tree-sitter-grammars/tree-sitter-markdown v0.5.3, MIT licensed; see LICENSE), vendored because the upstream module ships no Go binding.
Package markdown is a cgo binding for the tree-sitter Markdown block grammar (tree-sitter-grammars/tree-sitter-markdown v0.5.3, MIT licensed; see LICENSE), vendored because the upstream module ships no Go binding.
Package installer is the ServerInstaller port: listing, installing and removing Language Servers, and detecting the runtimes they need.
Package installer is the ServerInstaller port: listing, installing and removing Language Servers, and detecting the runtimes they need.
mason
Package mason is the ServerInstaller adapter for the Mason registry (mason-org/mason-registry).
Package mason is the ServerInstaller adapter for the Mason registry (mason-org/mason-registry).
Package live pushes PR changes to connected browsers.
Package live pushes PR changes to connected browsers.
Package metrics counts what Scrutiny does, such as GitHub requests and their failures, per minute, keeping a week of history in a Store.
Package metrics counts what Scrutiny does, such as GitHub requests and their failures, per minute, keeping a week of history in a Store.
Package navigator is the CodeNavigator port: definitions, usages and symbols for code in a worktree, and whether that is still being indexed.
Package navigator is the CodeNavigator port: definitions, usages and symbols for code in a worktree, and whether that is still being indexed.
lsp
Package lsp is the CodeNavigator adapter backed by Language Servers speaking LSP over stdio: one server per Workspace, started on first use and stopped once idle.
Package lsp is the CodeNavigator adapter backed by Language Servers speaking LSP over stdio: one server per Workspace, started on first use and stopped once idle.
Package repostore is the RepoStore port: local git data for repositories.
Package repostore is the RepoStore port: local git data for repositories.
gitcli
Package gitcli is the RepoStore adapter that shells out to the git binary, keeping one bare clone per repository.
Package gitcli is the RepoStore adapter that shells out to the git binary, keeping one bare clone per repository.
Package review holds the application services for reviewing a Pull Request, composed from the ports.
Package review holds the application services for reviewing a Pull Request, composed from the ports.
Package servers manages Language Servers for code navigation: which one launches for a language, and installing or removing them in the background.
Package servers manages Language Servers for code navigation: which one launches for a language, and installing or removing them in the background.
Package settings is the Settings port: user settings whose source of truth is the config file.
Package settings is the Settings port: user settings whose source of truth is the config file.
tomlfile
Package tomlfile is the Settings adapter backed by a TOML file, normally $XDG_CONFIG_HOME/scrutiny/config.toml.
Package tomlfile is the Settings adapter backed by a TOML file, normally $XDG_CONFIG_HOME/scrutiny/config.toml.
Package theme loads Themes: named colours for the interface and for syntax highlighting.
Package theme loads Themes: named colours for the interface and for syntax highlighting.
web
Package web is the driving HTTP adapter: it serves the Templ + htmx UI.
Package web is the driving HTTP adapter: it serves the Templ + htmx UI.
views
Package views holds the Templ components for the UI.
Package views holds the Templ components for the UI.
Package xdg resolves Scrutiny's XDG base directories.
Package xdg resolves Scrutiny's XDG base directories.

Jump to

Keyboard shortcuts

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