Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ fmtNum
Function
fmtNum
sdk/src/tools/read-files.ts:34–34 ·
view source on GitHub ↗
(n: number)
Source
from the content-addressed store, hash-verified
32
const
MAX_CHARS = 100_000
// 100k characters threshold
33
const
numFmt =
new
Intl.NumberFormat(
'en-US'
)
34
const
fmtNum = (n: number) => numFmt.format(n)
35
36
for
(
const
filePath of filePaths) {
37
if
(!filePath) {
Callers
1
getFiles
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected