MCPcopy Index your code
hub / github.com/OpenSIST/OpenSIST.github.io / avatarCacheKey

Function avatarCacheKey

src/Data/UserData.js:34–34  ·  view source on GitHub ↗
(displayName, avatarId)

Source from the content-addressed store, hash-verified

32import {getRecordByApplicant, updateCachedRecords} from "./RecordData";
33
34const avatarCacheKey = (displayName, avatarId) => `${displayName}-avatar-${avatarId}`;
35const metadataCacheKey = (displayName) => `${displayName}-metadata`;
36const USER_CHANGED_EVENT = "opensist-user-changed";
37

Callers 3

getAvatarFunction · 0.85
setAvatarFunction · 0.85
toggleAnonymousFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected