Documentation
¶
Overview ¶
Package languages provides shared language detection markers used by both the indexer (bare-repo language detection) and the SCIP service (project directory discovery). Keeping the canonical list in one place avoids drift between the two subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []Language{ {Name: "go", Markers: []string{"go.mod"}}, {Name: "typescript", Markers: []string{"tsconfig.json"}}, {Name: "javascript", Markers: []string{"package.json"}}, {Name: "rust", Markers: []string{"Cargo.toml"}}, {Name: "java", Markers: []string{"pom.xml", "build.gradle", "build.gradle.kts"}}, {Name: "python", Markers: []string{"pyproject.toml", "setup.py", "requirements.txt"}}, {Name: "php", Markers: []string{"composer.json"}}, }
All is the ordered list of supported languages. The order defines detection priority — more specific languages come first.
Functions ¶
func MarkersByLanguage ¶
MarkersByLanguage returns a map from language name to its marker files.
Types ¶
Click to show internal directories.
Click to hide internal directories.