MCPcopy Create free account
hub / github.com/codehamr/codehamr / runeIndex

Function runeIndex

internal/tui/prompt.go:368–388  ·  view source on GitHub ↗

runeIndex is a rune-level strings.Index: first occurrence of needle in haystack, or -1. promptInput works in runes throughout because textarea's cursor is rune-addressed (column = rune count, not byte count).

(haystack, needle []rune)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

reconcileMethod · 0.85
runeCountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected