MCPcopy Create free account
hub / github.com/clintonwoo/hackernews-react-graphql / getUsers

Method getUsers

server/database/cache.ts:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 getUsers(): Array<LRU.Entry<string, UserModel>> {
60 return this.userCache.dump();
61 }
62
63 setUser(id: string, user: UserModel): UserModel {
64 logger('Cache set user:', user);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected