MCPcopy
hub / github.com/hashicorp/hcl / rangeString

Function rangeString

cmd/hclspecsuite/diagnostics.go:105–111  ·  view source on GitHub ↗
(rng hcl.Range)

Source from the content-addressed store, hash-verified

103}
104
105func rangeString(rng hcl.Range) string {
106 return fmt.Sprintf(
107 "from line %d column %d byte %d to line %d column %d byte %d",
108 rng.Start.Line, rng.Start.Column, rng.Start.Byte,
109 rng.End.Line, rng.End.Column, rng.End.Byte,
110 )
111}

Callers 1

runTestInputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected