MCPcopy
hub / github.com/github/git-sizer / Progress

Interface Progress

meter/meter.go:20–25  ·  view source on GitHub ↗

Progress is an interface for a simple progress meter. Call `Start()` to begin reporting. `format` should include some kind of '%d' field, into which will be written the current count. A spinner and a CR character will be added automatically. Call `Inc()` every time the quantity of interest increase

Source from the content-addressed store, hash-verified

18// been called, it may be reused (starting at value 0) by calling
19// `Start()` again.
20type Progress interface {
21 Start(format string)
22 Inc()
23 Add(delta int64)
24 Done()
25}
26
27// Spinners is a slice of short strings that are repeatedly output in
28// order to show the user that we are working, before we have any

Callers 20

ScanRepositoryUsingGraphFunction · 0.65
NewObjectIterMethod · 0.65
NewBatchObjectIterMethod · 0.65
NewReferenceIterMethod · 0.65
ScanRepositoryUsingGraphFunction · 0.65
NewObjectIterMethod · 0.65
NewBatchObjectIterMethod · 0.65
NewReferenceIterMethod · 0.65

Implementers 2

progressMetermeter/meter.go
noProgressMetermeter/meter.go

Calls

no outgoing calls

Tested by

no test coverage detected