scanner

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectConfigFiles

func DetectConfigFiles(envData *types.EnvironmentData)

DetectConfigFiles checks for the existence of common configuration files in the user's home directory.

func DetectEditors

func DetectEditors(envData *types.EnvironmentData)

DetectEditors finds common code editors.

func DetectPackageManagers

func DetectPackageManagers(envData *types.EnvironmentData)

DetectPackageManagers finds common package managers based on the OS.

func DetectProgrammingLanguages

func DetectProgrammingLanguages(envData *types.EnvironmentData)

DetectProgrammingLanguages finds common programming languages.

func DetectSystemInfo

func DetectSystemInfo(sysInfo *types.SystemInfo)

DetectSystemInfo gathers basic OS and architecture details.

func DetectTools

func DetectTools(envData *types.EnvironmentData)

DetectTools finds common development tools and their versions.

Types

type Executable

type Executable struct {
	Name         string
	Command      string
	VersionArg   string
	VersionRegex *regexp.Regexp
}

Executable represents a generic command-line tool to be scanned.

Jump to

Keyboard shortcuts

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