Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ emitHardWrap
Function
emitHardWrap
cli/src/utils/text-layout.ts:11–14 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
const
tokens = text.split(/(\s+)/)
10
11
const
emitHardWrap = () => {
12
lines += 1
13
current = 0
14
}
15
16
const
appendSegment = (
17
segment: string,
Callers
2
appendSegment
Function · 0.85
measureLines
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected