detector

package
v0.0.0-...-e7f7a92 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildTool

type BuildTool int
const (
	GRADLE BuildTool = iota
	MAVEN
	SBT
	NPM
)

func (BuildTool) String

func (e BuildTool) String() string

type BuildToolDetector

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

func New

func New(repoAbsPath string) *BuildToolDetector

func (*BuildToolDetector) Detect

func (d *BuildToolDetector) Detect() []BuildTool

type BuildType

type BuildType struct {
	Name  string   `yaml:"name"`
	Files []string `yaml:"files"`
}

type Types

type Types struct {
	BuildTypes []BuildType `yaml:"types"`
}

func LoadConfig

func LoadConfig() (Types, error)

Jump to

Keyboard shortcuts

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