Documentation ¶
Overview ¶
Package source includes detectors for STI source repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDetectors = Detectors{ DetectRuby, DetectJava, DetectNodeJS, DetectPHP, DetectPython, DetectPerl, DetectScala, }
DefafultDetectors is a default set of Detector functions
Functions ¶
This section is empty.
Types ¶
type DetectorFunc ¶
DetectorFunc is a function that returns source Info from a given directory. It returns true if it was able to detect the code in the given directory.
type Detectors ¶
type Detectors []DetectorFunc
Detectors is a set of DetectorFunc that is used to detect the language/platform for a given source directory
type Info ¶
Info is detected platform information from a source directory
func DetectPerl ¶ added in v0.6.1
DetectPerl detects Perl source
func DetectPython ¶ added in v0.6.1
DetectPython detects Python source
func DetectScala ¶ added in v1.0.2
DetectScala detects Scala source
Click to show internal directories.
Click to hide internal directories.