MCPcopy Create free account
hub / github.com/MertJSX/folderhost / StartVersionChecker

Function StartVersionChecker

utils/version_checker.go:123–133  ·  view source on GitHub ↗
(currentVersion string)

Source from the content-addressed store, hash-verified

121}
122
123func StartVersionChecker(currentVersion string) {
124
125 checkAndNotifyVersion(currentVersion)
126
127 ticker := time.NewTicker(24 * time.Hour)
128 go func() {
129 for range ticker.C {
130 checkAndNotifyVersion(currentVersion)
131 }
132 }()
133}

Callers 1

mainFunction · 0.92

Calls 1

checkAndNotifyVersionFunction · 0.85

Tested by

no test coverage detected