Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package source includes detectors for STI source repositories
Index ¶
- Variables
 - type DetectorFunc
 - type Detectors
 - type Info
 - func DetectDotNet(dir string) *Info
 - func DetectGolang(dir string) *Info
 - func DetectJava(dir string) *Info
 - func DetectLiteralDotNet(dir string) *Info
 - func DetectNodeJS(dir string) *Info
 - func DetectPHP(dir string) *Info
 - func DetectPerl(dir string) *Info
 - func DetectPython(dir string) *Info
 - func DetectRuby(dir string) *Info
 - func DetectRust(dir string) *Info
 - func DetectScala(dir string) *Info
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultDetectors = Detectors{ DetectRuby, DetectJava, DetectNodeJS, DetectPHP, DetectPython, DetectPerl, DetectScala, DetectDotNet, DetectLiteralDotNet, DetectGolang, DetectRust, }
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 DetectDotNet ¶
DetectDotNet detects .NET source and matches it to a dotnet supported annotation or dotnet imagestream name
func DetectLiteralDotNet ¶
DetectLiteralDotNet detects .NET source and matches it to a .net supported annotation
 Click to show internal directories. 
   Click to hide internal directories.