MCPcopy Index your code
hub / github.com/perkeep/perkeep / setStatus

Method setStatus

pkg/server/sync.go:935–941  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

933)
934
935func (cs *copyStatus) setStatus(s string) {
936 now := time.Now()
937 cs.mu.Lock()
938 defer cs.mu.Unlock()
939 cs.state = s
940 cs.t = now
941}
942
943func (cs *copyStatus) setError(err error) {
944 now := time.Now()

Callers 1

copyBlobMethod · 0.80

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected