languagedetect

package
v0.0.0-...-3473513 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LanguageDetect

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

LanguageDetect implements analyzer.LanguageDetect interface, which is resposable to detect all languages recursivily to a given base path.

func NewLanguageDetect

func NewLanguageDetect(cfg *config.Config, analysisID uuid.UUID) *LanguageDetect

NewLanguageDetect create a new language detect.

func (*LanguageDetect) Detect

func (ld *LanguageDetect) Detect(directory string) ([]languages.Language, error)

Detect implements analyzer.LanguageDetect.Detect.

nolint: funlen

Jump to

Keyboard shortcuts

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