MCPcopy
hub / github.com/abiosoft/ishell / ProgressDisplayFunc

FuncType ProgressDisplayFunc

progress.go:220–220  ·  view source on GitHub ↗

ProgressDisplayFunc is a convenience function to create a ProgressDisplay. percent is -1 for indeterminate and 0-100 for determinate.

func(percent int) string

Source from the content-addressed store, hash-verified

218// ProgressDisplayFunc is a convenience function to create a ProgressDisplay.
219// percent is -1 for indeterminate and 0-100 for determinate.
220type ProgressDisplayFunc func(percent int) string
221
222// Determinate satisfies ProgressDisplay interface.
223func (p ProgressDisplayFunc) Determinate() [101]string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected