MCPcopy
hub / github.com/tuna/tunasync / Remove

Method Remove

worker/schedule.go:85–89  ·  view source on GitHub ↗

remove job

(name string)

Source from the content-addressed store, hash-verified

83
84// remove job
85func (q *scheduleQueue) Remove(name string) bool {
86 q.Lock()
87 defer q.Unlock()
88 return q.unsafeRemove(name)
89}
90
91// remove job
92func (q *scheduleQueue) unsafeRemove(name string) bool {

Callers 7

TestConfigFunction · 0.80
preExecMethod · 0.80
postFailMethod · 0.80
TestScheduleFunction · 0.80
disableJobMethod · 0.80
makeHTTPServerMethod · 0.80
TestConfigFunction · 0.80

Calls 1

unsafeRemoveMethod · 0.95

Tested by 3

TestConfigFunction · 0.64
TestScheduleFunction · 0.64
TestConfigFunction · 0.64