sourcegraph/internal/compute
Varun Gandhi 3437f8253d
chore: Centralize languages package as source-of-truth (#63292)
This patch does a few things:

- Adds `go-enry` packages to depguard, so that people do not
  accidentally use enry APIs instead of the corresponding APIs
  in the `languages` package.
- Adds more tests for different functions in the languages package
  to ensure mutual consistency in how language<->extension mappings
  are handled.
- Adds tests for enry upgrades
- Adds comments with IDs so that related parts in the code can be
   pieced together easily
2024-06-18 13:10:24 +00:00
..
client bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
testdata/Test_matchOnly Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
BUILD.bazel chore(codeintel): Use internal language detection package for insights (#63254) 2024-06-17 14:03:58 -04:00
command.go internal: Migrate to gitserver.NewClient (#54850) 2023-07-13 18:04:15 +05:30
match_context_result.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
match_only_command_test.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
match_only_command.go internal: Migrate to gitserver.NewClient (#54850) 2023-07-13 18:04:15 +05:30
output_command_test.go chore(codeintel): Use internal language detection package for insights (#63254) 2024-06-17 14:03:58 -04:00
output_command.go logger: update log lib and remove use of description (#57690) 2023-10-18 17:29:08 +02:00
query_test.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
query.go search: use annotation IsContent for "content:" patterns (#60786) 2024-02-28 16:15:31 +00:00
replace_command_test.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
replace_command.go gitserver: Unify filereader API (#59782) 2024-01-24 13:53:57 +01:00
result.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
template_test.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
template.go chore: Centralize languages package as source-of-truth (#63292) 2024-06-18 13:10:24 +00:00
text_result.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00