Skip to main content

Module types

Module types 

Source
Expand description

Type-safe wrapper types for improved compile-time guarantees.

This module provides NewType pattern implementations to prevent primitive type misuse and improve API clarity.

Structs§

AuthToken
GitHub/Git authentication token.
CommandArgs
Command line arguments wrapper.
CompiledPattern
Compiled regex pattern for efficient reuse.
FileHash
SHA256 file hash for baseline comparison.
GitRef
Git reference (branch, tag, or commit hash).
RuleId
Rule identifier (e.g., “PE-001”, “EX-002”).
ScanTarget
A validated scan target path.
ServerName
MCP server name.

Enums§

PathValidationError
Error type for path validation failures.