analyzer

package
v0.0.0-...-1ed9be9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeAnalyzer

type CodeAnalyzer struct {
	// contains filtered or unexported fields
}

func NewCodeAnalyzer

func NewCodeAnalyzer(workDir string) *CodeAnalyzer

func (*CodeAnalyzer) AnalyzeDirectory

func (a *CodeAnalyzer) AnalyzeDirectory(path string) ([]model.Issue, int, error)

AnalyzeDirectory scans all files in a directory

func (*CodeAnalyzer) Cleanup

func (a *CodeAnalyzer) Cleanup(path string) error

Cleanup removes cloned repository

func (*CodeAnalyzer) CreateMockRepository

func (a *CodeAnalyzer) CreateMockRepository() (string, error)

CreateMockRepository creates a mock repo for testing (no git required)

Jump to

Keyboard shortcuts

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