MCPcopy Create free account
hub / github.com/OpenSIST/OpenSIST.github.io / displayNameFromMetadataCacheKey

Function displayNameFromMetadataCacheKey

src/Data/UserData.js:280–282  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

278}
279
280function displayNameFromMetadataCacheKey(key) {
281 return key.slice(0, -"-metadata".length);
282}
283
284export async function setMetadata(metadata, displayName = null) {
285 /*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected