Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cursor/plugins
/ truncate
Function
truncate
orchestrate/skills/orchestrate/scripts/core/loop.ts:297–299 ·
view source on GitHub ↗
(s: string, n: number)
Source
from the content-addressed store, hash-verified
295
}
296
297
function
truncate(s: string, n: number): string {
298
return
s.length > n ? `${s.slice(0, n)}…` : s;
299
}
Callers
1
printLoopSummary
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected