MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / NewSimpleTask

Function NewSimpleTask

tasklog/simple_task.go:22–27  ·  view source on GitHub ↗

NewSimpleTask returns a new *SimpleTask instance.

()

Source from the content-addressed store, hash-verified

20
21// NewSimpleTask returns a new *SimpleTask instance.
22func NewSimpleTask() *SimpleTask {
23 return &SimpleTask{
24 ch: make(chan *Update),
25 wg: new(sync.WaitGroup),
26 }
27}
28
29// Log logs a string with no formatting verbs.
30func (s *SimpleTask) Log(str string) {

Calls

no outgoing calls