MCPcopy Create free account
hub / github.com/JordanCoin/codemap / NewCloneAnimation

Function NewCloneAnimation

render/clone_animation.go:17–22  ·  view source on GitHub ↗

NewCloneAnimation creates a new animation renderer

(w io.Writer, repoName string)

Source from the content-addressed store, hash-verified

15
16// NewCloneAnimation creates a new animation renderer
17func 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
25func (a *CloneAnimation) Render(progress int) {

Callers 4

cloneRepoFunction · 0.92
TestNewCloneAnimationFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestNewCloneAnimationFunction · 0.68