MCPcopy
hub / github.com/ilyhalight/voice-over-translation / set

Method set

src/utils/storage.ts:409–414  ·  view source on GitHub ↗
(
    name: StorageKey,
    value: T,
  )

Source from the content-addressed store, hash-verified

407 }
408
409 async set<T extends KeysOrDefaultValue = undefined>(
410 name: StorageKey,
411 value: T,
412 ): Promise<void> {
413 return this.setRaw(name, value);
414 }
415
416 private syncDeleteByName(name: string, support: StorageSupport) {
417 if (support.legacyDelete) {

Callers 15

loadSubtitlesFunction · 0.80
getParsedHotkeyFunction · 0.80
initFunction · 0.80
changeLangMethod · 0.80
updateMethod · 0.80
updateConfigFunction · 0.80
markSentFunction · 0.80

Calls 1

setRawMethod · 0.95

Tested by 1

addEventListenerFunction · 0.64