MCPcopy
hub / github.com/cli/cli / Indent

Function Indent

internal/text/text.go:19–21  ·  view source on GitHub ↗
(s, indent string)

Source from the content-addressed store, hash-verified

17var whitespaceRE = regexp.MustCompile(`\s+`)
18
19func Indent(s, indent string) string {
20 return text.Indent(s, indent)
21}
22
23// Title returns a copy of the string s with all Unicode letters that begin words mapped to their Unicode title case.
24func Title(s string) string {

Callers 5

printHumanCommentFunction · 0.92
generateChangelogFunction · 0.92
rootUsageFuncFunction · 0.92
rootHelpFuncFunction · 0.92
helpTopicHelpFuncFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected