rust

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	Clock func() time.Time
}

func NewAdapter

func NewAdapter() *Adapter

func (*Adapter) Aliases

func (a *Adapter) Aliases() []string

func (*Adapter) Analyse

func (a *Adapter) Analyse(ctx context.Context, req language.Request) (report.Report, error)

func (*Adapter) Detect

func (a *Adapter) Detect(ctx context.Context, repoPath string) (bool, error)

func (*Adapter) DetectWithConfidence

func (a *Adapter) DetectWithConfidence(ctx context.Context, repoPath string) (language.Detection, error)

func (*Adapter) ID

func (a *Adapter) ID() string

Jump to

Keyboard shortcuts

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