Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectLanguage ¶
func DetectLanguage(process process.Details) (common.ProgrammingLanguage, error)
DetectLanguage returns the detected language for the process or common.UnknownProgrammingLanguage if the language could not be detected, in which case error == nil if error or language detectors disagree common.UnknownProgrammingLanguage is also returned
Types ¶
type ErrLanguageDetectionConflict ¶ added in v1.0.70
type ErrLanguageDetectionConflict struct {
// contains filtered or unexported fields
}
func (ErrLanguageDetectionConflict) Error ¶ added in v1.0.70
func (e ErrLanguageDetectionConflict) Error() string
Click to show internal directories.
Click to hide internal directories.