MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / toast

Method toast

src/renderer/controller.ts:64–68  ·  view source on GitHub ↗
(text: string, force: boolean = false)

Source from the content-addressed store, hash-verified

62 }
63
64 toast(text: string, force: boolean = false) {
65 if (force || config.get("toastTip")) {
66 Vue.toasted.show(text);
67 }
68 }
69
70 handle(identifier: Identifier, param: any) {
71 switch (identifier) {

Callers 12

handleMethod · 0.95
recognizeMethod · 0.80
handleMethod · 0.80
decideLanguageMethod · 0.80
syncMethod · 0.80
translateSentenceMethod · 0.80
setWatchMethod · 0.80
handleMethod · 0.80
setUpMethod · 0.80
recognize_clipboardMethod · 0.80
getActionMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected