()
| 595 | } |
| 596 | |
| 597 | func (mctx *MigrationContext) GetProgressPct() float64 { |
| 598 | return math.Float64frombits(atomic.LoadUint64(&mctx.currentProgress)) |
| 599 | } |
| 600 | |
| 601 | func (mctx *MigrationContext) SetProgressPct(progressPct float64) { |
| 602 | atomic.StoreUint64(&mctx.currentProgress, math.Float64bits(progressPct)) |
no outgoing calls
no test coverage detected