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

Method Progress

pkg/filemanager/workflows/archive.go:685–690  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

683}
684
685func (m *SlaveCreateArchiveTask) Progress(ctx context.Context) queue.Progresses {
686 m.Lock()
687 defer m.Unlock()
688
689 return m.progress
690}
691
692func decryptEntityKeyIfNeeded(masterKey []byte, entity *ent.Entity) (*ent.Entity, error) {
693 if entity.Props == nil || entity.Props.EncryptMetadata == nil || entity.Props.EncryptMetadata.KeyPlainText != nil {

Callers

nothing calls this directly

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected