detect

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package detect classifies application inputs without executing them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSON

func JSON(result Result) ([]byte, error)

Types

type Result

type Result struct {
	Path         string   `json:"path"`
	Kind         string   `json:"kind"`
	Profile      string   `json:"profile"`
	Architecture string   `json:"architecture,omitempty"`
	Interpreter  string   `json:"interpreter,omitempty"`
	NativeDeps   []string `json:"native_dependencies,omitempty"`
	Evidence     []string `json:"evidence"`
	Ambiguous    bool     `json:"ambiguous"`
	Candidates   []string `json:"candidates,omitempty"`
}

func Path

func Path(name string) (Result, error)

Jump to

Keyboard shortcuts

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