Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evolify/dumpfun
/ formatString
Function
formatString
common/utils/format.ts:57–62 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
55
}
56
57
export
function
formatString(str: string) {
58
if
(str.length > 10) {
59
return
str.slice(0, 5) +
"..."
+ str.slice(-5)
60
}
61
return
str
62
}
Callers
1
Detail
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected