Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
148
func
(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
Overlaps
Method · 0.95
WriteDiagnostic
Method · 0.80
RangeOver
Function · 0.80
PartitionAround
Method · 0.80
ContextDefRange
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected