classifier

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(cfg *config.Config, filePath string) string

Detect attempts to determine the artifact type of a file. Custom rules from the config are consulted before built-ins.

Types

type Result added in v0.7.0

type Result struct {
	Type       string
	Confidence string
	Reason     string
}

func Analyze added in v0.7.0

func Analyze(cfg *config.Config, filePath string) Result

Jump to

Keyboard shortcuts

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