MCPcopy Index your code
hub / github.com/codehamr/codehamr / appendStatus

Function appendStatus

internal/tui/render.go:332–334  ·  view source on GitHub ↗

appendStatus wraps one segment in styleStatus and appends it, keeping renderStatusBar readable instead of repeating the wrap at each call site.

(segs []string, s string)

Source from the content-addressed store, hash-verified

330 segs = appendStatus(segs, m.status)
331 }
332 return strings.Join(segs, sep)
333}
334
335// appendStatus wraps one segment in styleStatus and appends it, keeping
336// renderStatusBar readable instead of repeating the wrap at each call site.
337func appendStatus(segs []string, s string) []string {

Callers 1

renderStatusBarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected