MCPcopy
hub / github.com/robfig/cron / removeEntry

Method removeEntry

cron.go:347–355  ·  view source on GitHub ↗
(id EntryID)

Source from the content-addressed store, hash-verified

345}
346
347func (c *Cron) removeEntry(id EntryID) {
348 var entries []*Entry
349 for _, e := range c.entries {
350 if e.ID != id {
351 entries = append(entries, e)
352 }
353 }
354 c.entries = entries
355}

Callers 2

RemoveMethod · 0.95
runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected