MCPcopy Create free account
hub / github.com/massCodeIO/massCode / getPendingContentUpdate

Function getPendingContentUpdate

src/renderer/composables/useSnippetUpdate.ts:106–109  ·  view source on GitHub ↗
(snippetId: number, contentId: number)

Source from the content-addressed store, hash-verified

104}
105
106function getPendingContentUpdate(snippetId: number, contentId: number) {
107 const key = getContentUpdateKey(snippetId, contentId)
108 return updateContentQueue.value.get(key)?.data
109}
110
111function isContentUpdateBusy(snippetId: number, contentId: number) {
112 const key = getContentUpdateKey(snippetId, contentId)

Callers

nothing calls this directly

Calls 2

getContentUpdateKeyFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected