Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clintonwoo/hackernews-react-graphql
/ getUser
Method
getUser
server/database/cache.ts:55–57 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
53
/* BEGIN USERS */
54
55
getUser(id: string): UserModel | undefined {
56
return
this.userCache.get(id);
57
}
58
59
getUsers(): Array<LRU.Entry<string, UserModel>> {
60
return
this.userCache.dump();
Callers
4
me
Function · 0.45
user
Function · 0.45
author
Function · 0.45
server.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected