MCPcopy Index your code
hub / github.com/massCodeIO/massCode / getCaptureButtonLabel

Function getCaptureButtonLabel

integrations/clipper/src/popup.ts:367–373  ·  view source on GitHub ↗
(target: CaptureTarget)

Source from the content-addressed store, hash-verified

365}
366
367function getCaptureButtonLabel(target: CaptureTarget): string {
368 return target === 'code'
369 ? 'Save snippet'
370 : target === 'notes'
371 ? 'Save note'
372 : 'Save request'
373}
374
375function setStatus(message: string, isError = false): void {
376 if (!statusText) {

Callers 1

updateTargetButtonsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected