MCPcopy Index your code
hub / github.com/github/gh-ost / GetProgressPct

Method GetProgressPct

go/base/context.go:597–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected