MCPcopy Create free account
hub / github.com/driangle/taskmd / lowerFirst

Function lowerFirst

apps/cli/internal/cli/commit_msg.go:321–328  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

319}
320
321func lowerFirst(s string) string {
322 if s == "" {
323 return s
324 }
325 runes := []rune(s)
326 runes[0] = unicode.ToLower(runes[0])
327 return string(runes)
328}
329
330// DiffResult categorizes files from a unified diff by their status change.
331type DiffResult struct {

Callers 2

formatSubjectLineFunction · 0.85
TestLowerFirstFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestLowerFirstFunction · 0.68