detect

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package detect implements the project detection engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	KB        *kb.KnowledgeBase
	Root      string
	ScanDepth int      // max directory depth for recursive detection (0 = default 4)
	SkipDirs  []string // additional directories to skip during walks
	// contains filtered or unexported fields
}

Engine runs detection against a project directory.

func New

func New(knowledgeBase *kb.KnowledgeBase, root string) *Engine

New creates a detection engine for the given project root.

func (*Engine) Run

func (e *Engine) Run() (*brief.Report, error)

Run performs full detection and returns a Report.

Jump to

Keyboard shortcuts

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