MCPcopy
hub / github.com/kopia/kopia / EnqueueFront

Method EnqueueFront

internal/parallelwork/parallel_work_queue.go:33–35  ·  view source on GitHub ↗

EnqueueFront adds the work to the front of the queue.

(ctx context.Context, callback CallbackFunc)

Source from the content-addressed store, hash-verified

31
32// EnqueueFront adds the work to the front of the queue.
33func (v *Queue) EnqueueFront(ctx context.Context, callback CallbackFunc) {
34 v.enqueue(ctx, true, callback)
35}
36
37// EnqueueBack adds the work to the back of the queue.
38func (v *Queue) EnqueueBack(ctx context.Context, callback CallbackFunc) {

Callers 4

ListBlobsMethod · 0.95
EntryFunction · 0.80
copyDirectoryContentMethod · 0.80

Calls 1

enqueueMethod · 0.95

Tested by 1