MCPcopy Create free account
hub / github.com/openclaw/gogcli / IntersectGridIndexes

Function IntersectGridIndexes

internal/sheetsvalidation/planner.go:419–428  ·  view source on GitHub ↗
(aStart, aEnd, bStart, bEnd int64)

Source from the content-addressed store, hash-verified

417}
418
419func IntersectGridIndexes(aStart, aEnd, bStart, bEnd int64) (int64, int64, bool) {
420 start := max(aStart, bStart)
421 end := aEnd
422
423 if bEnd > 0 && (end == 0 || bEnd < end) {
424 end = bEnd
425 }
426
427 return start, end, end > start
428}
429
430func conditionArity(conditionType string) (int, int, bool) {
431 switch conditionType {

Callers 7

spanIntersectsFunction · 0.85
RelevantSourceSpansFunction · 0.85
BuildClearRequestsFunction · 0.85
BuildSetRequestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected