NewCloneAnimation creates a new animation renderer
(w io.Writer, repoName string)
| 15 | |
| 16 | // NewCloneAnimation creates a new animation renderer |
| 17 | func NewCloneAnimation(w io.Writer, repoName string) *CloneAnimation { |
| 18 | return &CloneAnimation{ |
| 19 | w: w, |
| 20 | repoName: repoName, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | // Render draws a single-line progress indicator with map emoji |
| 25 | func (a *CloneAnimation) Render(progress int) { |
no outgoing calls