MCPcopy
hub / github.com/cortesi/modd / Push

Method Push

notify/notify.go:48–53  ·  view source on GitHub ↗

Push implements Notifier

(title string, text string, iconPath string)

Source from the content-addressed store, hash-verified

46
47// Push implements Notifier
48func (LibnotifyNotifier) Push(title string, text string, iconPath string) {
49 cmd := exec.Command(
50 "notify-send", prog, text,
51 )
52 go cmd.Run()
53}
54
55// PlatformNotifier finds a notifier for this platform
56func PlatformNotifier() Notifier {

Callers

nothing calls this directly

Calls 1

RunMethod · 0.45

Tested by

no test coverage detected