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

Function skipSpace

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

Source from the content-addressed store, hash-verified

702}
703
704func skipSpace(src []byte, i, hi int) int {
705 for i < hi && isSpace(src[i]) {
706 i++
707 }
708 return i
709}
710
711// isSpace reports whether c is ASCII whitespace, which is what ends an
712// 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