MCPcopy Create free account
hub / github.com/cli/cli / skipSpace

Function skipSpace

internal/attachments/references.go:741–746  ·  view source on GitHub ↗
(src []byte, i, hi int)

Source from the content-addressed store, hash-verified

739}
740
741func skipSpace(src []byte, i, hi int) int {
742 for i < hi && isSpace(src[i]) {
743 i++
744 }
745 return i
746}
747
748// isSpace reports whether c is ASCII whitespace, which is what ends an
749// unbracketed markdown destination.

Callers 3

inlineRangesFunction · 0.85
inlineDestinationFunction · 0.85
linkReferenceDestinationFunction · 0.85

Calls 1

isSpaceFunction · 0.85

Tested by

no test coverage detected