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

Method Lock

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

Source from the content-addressed store, hash-verified

352}
353
354func (t *DBTask) Lock() {
355 t.mu.Lock()
356}
357
358func (t *DBTask) Unlock() {
359 t.mu.Unlock()

Callers

nothing calls this directly

Calls 1

LockMethod · 0.65

Tested by

no test coverage detected