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

Method newCopyStatus

pkg/server/sync.go:904–913  ·  view source on GitHub ↗
(sb blob.SizedRef)

Source from the content-addressed store, hash-verified

902}
903
904func (sh *SyncHandler) newCopyStatus(sb blob.SizedRef) *copyStatus {
905 now := time.Now()
906 return &copyStatus{
907 sh: sh,
908 sb: sb,
909 state: statusStarting,
910 start: now,
911 t: now,
912 }
913}
914
915// copyStatus is an in-progress copy.
916type copyStatus struct {

Callers 1

copyBlobMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected