MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Type

Method Type

pkg/queue/task.go:183–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183func (t *DBTask) Type() string {
184 t.mu.Lock()
185 defer t.mu.Unlock()
186 return t.Task.Type
187}
188
189func (t *DBTask) Owner() *ent.User {
190 t.mu.Lock()

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected