MCPcopy
hub / github.com/cli/cli / addSegment

Function addSegment

pkg/search/query.go:361–370  ·  view source on GitHub ↗
(inrune, segment []rune)

Source from the content-addressed store, hash-verified

359}
360
361func addSegment(inrune, segment []rune) []rune {
362 if len(segment) == 0 {
363 return inrune
364 }
365 if len(inrune) != 0 {
366 inrune = append(inrune, '-')
367 }
368 inrune = append(inrune, segment...)
369 return inrune
370}

Callers 1

camelToKebabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected