sourcegraph/internal/licensing
Varun Gandhi 2955bb6cfb
chore: Change errors.HasType to respect multi-errors (#63024)
With this patch, the `errors.HasType` API behaves similar to `Is` and `As`,
where it checks the full error tree instead of just checking a linearized version
of it, as cockroachdb/errors's `HasType` implementation does not respect
multi-errors.

As a consequence, a bunch of relationships between HasType and Is/As that
you'd intuitively expect to hold are now true; see changes to `invariants_test.go`.
2024-06-06 13:02:14 +00:00
..
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
CODENOTIFY Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
codygateway_test.go feat/enterprise: make per-subscription model allowlists no-op (#62912) 2024-06-05 17:08:58 +00:00
codygateway.go feat/enterprise: make per-subscription model allowlists no-op (#62912) 2024-06-05 17:08:58 +00:00
constants.go fix: move licensing checks to worker process (#54854) 2023-07-24 13:38:57 +02:00
data.go licensing: Rename new plans (#60345) 2024-02-09 10:05:36 +02:00
doc.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
features_test.go Implement licensing changes for Sourcegraph 5.3 (#60046) 2024-02-05 11:58:58 +01:00
features.go chore: Change errors.HasType to respect multi-errors (#63024) 2024-06-06 13:02:14 +00:00
licensing_test.go Implement licensing changes for Sourcegraph 5.3 (#60046) 2024-02-05 11:58:58 +01:00
licensing.go conf: Move most confvalidators into common package (#61810) 2024-04-12 06:30:52 +02:00
plans_test.go feat/enterprise-portal: DB layer for {Get/List}CodyGatewayAccess (#62706) 2024-05-22 12:56:59 -07:00
plans.go feat/enterprise-portal: DB layer for {Get/List}CodyGatewayAccess (#62706) 2024-05-22 12:56:59 -07:00
tags_test.go licensing: Rename new plans (#60345) 2024-02-09 10:05:36 +02:00
tags.go feat/enterprise: make per-subscription model allowlists no-op (#62912) 2024-06-05 17:08:58 +00:00
telemetryexport_test.go Implement licensing changes for Sourcegraph 5.3 (#60046) 2024-02-05 11:58:58 +01:00
telemetryexport.go Move dotcom check out of cmd/frontend (#60810) 2024-03-04 16:05:16 +00:00
types.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00
user_count.go Backend: move a bunch of enterprise packages into internal (#54639) 2023-07-05 23:43:24 +00:00