Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/slopus/happy
/ has
Method
has
packages/happy-server/sources/utils/lru.ts:68–75 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
66
}
67
68
has(value: T): boolean {
69
const
node = this.map.get(value);
70
if
(node) {
71
this.moveToFront(node);
72
return
true;
73
}
74
return
false;
75
}
76
77
delete(value: T): boolean {
78
const
node = this.map.get(value);
Callers
15
createEnvironment
Function · 0.45
ToolGroupView.tsx
File · 0.45
ChatList.tsx
File · 0.45
buildTree
Function · 0.45
FilesSidebar.tsx
File · 0.45
AllFilesDiffView.tsx
File · 0.45
AskUserQuestionView.tsx
File · 0.45
isTerminalToolName
Function · 0.45
getToolSummaryCategory
Function · 0.45
hasFileLikeEnding
Function · 0.45
stringifyToolCommand
Function · 0.45
RootLayout
Function · 0.45
Calls
1
moveToFront
Method · 0.95
Tested by
1
seedSession
Function · 0.36