MCPcopy
hub / github.com/kopia/kopia / setStatus

Method setStatus

internal/server/source_manager.go:102–107  ·  view source on GitHub ↗
(stat string)

Source from the content-addressed store, hash-verified

100}
101
102func (s *sourceManager) setStatus(stat string) {
103 s.sourceMutex.Lock()
104 defer s.sourceMutex.Unlock()
105
106 s.state = stat
107}
108
109func (s *sourceManager) isPaused() bool {
110 s.sourceMutex.RLock()

Callers 5

runMethod · 0.95
runLocalMethod · 0.95
runReadOnlyMethod · 0.95
snapshotInternalMethod · 0.95
refreshStatusMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected