internal/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT

Directories

Path Synopsis
Package app implements the CLI command handlers.
Package app implements the CLI command handlers.
Package config handles loading, defaulting, environment override, and validation of the Amimica configuration file (.amimica.yaml or ~/.config/amimica/config.yaml).
Package config handles loading, defaulting, environment override, and validation of the Amimica configuration file (.amimica.yaml or ~/.config/amimica/config.yaml).
Package discovery walks repositories to find source files for analysis.
Package discovery walks repositories to find source files for analysis.
Package engine orchestrates the clone detection pipeline: discovery -> parsing/normalization/extraction -> fingerprinting -> matching -> scoring.
Package engine orchestrates the clone detection pipeline: discovery -> parsing/normalization/extraction -> fingerprinting -> matching -> scoring.
Package extract segments parsed and normalized Go ASTs into analysis units: whole functions, statement windows, and inner blocks.
Package extract segments parsed and normalized Go ASTs into analysis units: whole functions, statement windows, and inner blocks.
Package fingerprint computes hash-based fingerprints for normalized code units.
Package fingerprint computes hash-based fingerprints for normalized code units.
Package fsguard implements path sandboxing and security validation for file system access.
Package fsguard implements path sandboxing and security validation for file system access.
Package lang defines the Language interface that abstracts language-specific parsing, normalization, and extraction.
Package lang defines the Language interface that abstracts language-specific parsing, normalization, and extraction.
csharp
Package csharp implements the Language interface for C# source files.
Package csharp implements the Language interface for C# source files.
golang
Package golang implements the Language interface for Go source files.
Package golang implements the Language interface for Go source files.
javascript
Package javascript implements the Language interface for JavaScript, TypeScript, JSX, and TSX files.
Package javascript implements the Language interface for JavaScript, TypeScript, JSX, and TSX files.
objc
Package objc implements the Language interface for Objective-C source files.
Package objc implements the Language interface for Objective-C source files.
ruby
Package ruby implements the Language interface for Ruby source files.
Package ruby implements the Language interface for Ruby source files.
Package logging provides a thin wrapper around Go's structured logging package (log/slog).
Package logging provides a thin wrapper around Go's structured logging package (log/slog).
Package match groups normalized units into clone classes using exact hash matching and approximate similarity via MinHash/LSH.
Package match groups normalized units into clone classes using exact hash matching and approximate similarity via MinHash/LSH.
Package mcp implements an MCP (Model Context Protocol) server that exposes Amimica's clone detection as tools for editor and agent integration.
Package mcp implements an MCP (Model Context Protocol) server that exposes Amimica's clone detection as tools for editor and agent integration.
Package model defines the core shared data types used throughout the Amimica code clone detection pipeline.
Package model defines the core shared data types used throughout the Amimica code clone detection pipeline.
Package normalize transforms Go AST nodes into normalized token sequences at multiple levels of abstraction.
Package normalize transforms Go AST nodes into normalized token sequences at multiple levels of abstraction.
Package parser wraps Go's go/parser to produce ASTs from source files with error tolerance.
Package parser wraps Go's go/parser to produce ASTs from source files with error tolerance.
Package report formats analysis findings for output.
Package report formats analysis findings for output.
Package score assigns quality scores to clone findings and filters noise.
Package score assigns quality scores to clone findings and filters noise.

Jump to

Keyboard shortcuts

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