Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodebuffAI/codebuff
/ genId
Function
genId
web/src/components/ui/use-toast.ts:20–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
let
count = 0
19
20
function
genId() {
21
count = (count + 1) % Number.MAX_SAFE_INTEGER
22
return
count.toString()
23
}
24
25
type
ActionType = {
26
readonly ADD_TOAST:
'ADD_TOAST'
Callers
1
toast
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected