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

Method Empty

pos.go:148–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146}
147
148func (r Range) Empty() bool {
149 return r.Start.Byte == r.End.Byte
150}
151
152// CanSliceBytes returns true if SliceBytes could return an accurate
153// sub-slice of the given slice.

Callers 5

OverlapsMethod · 0.95
WriteDiagnosticMethod · 0.80
RangeOverFunction · 0.80
PartitionAroundMethod · 0.80
ContextDefRangeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected