github.com/hashicorp/hcl/v2.Diagnostics.HasErrors
third-partyThe 4522nd most-called third-party method by production calls. Called 191 times across 9 modules; 131 of those run outside tests and generated code.
- prod calls
- 131
- non-test, non-generated
- all calls
- 191
- total callsites
- modules
- 9
- distinct callers
- in loop
- 24%
- of prod calls
- in tests
- 31%
- 60 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Diagnostics.HasErrors from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 191, prioritizing in-loop and non-test usage. We link to source, never display it.
-
hashicorp/hcl/v2 @v2.24.0
in loop -
hashicorp/terraform-config-inspect @v0.0.0-20260709150029-2fb54c236733
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Diagnostics.HasErrors most in this snapshot.
- github.com/hashicorp/hcl/v216586%
- github.com/gruntwork-io/terragrunt63%
- github.com/hashicorp/packer63%
- github.com/infracost/infracost53%
- github.com/hashicorp/terraform-config-inspect32%
siblings
More from github.com/hashicorp/hcl/v2
The other most-called members in this package. See all →