MCPcopy
hub / github.com/git-lfs/git-lfs / SimpleTask

Struct SimpleTask

tasklog/simple_task.go:11–19  ·  view source on GitHub ↗

SimpleTask is in an implementation of tasklog.Task which prints out messages verbatim.

Source from the content-addressed store, hash-verified

9// SimpleTask is in an implementation of tasklog.Task which prints out messages
10// verbatim.
11type SimpleTask struct {
12 // ch is used to transmit task updates.
13 ch chan *Update
14
15 // wg is used to wait between closing the channel, and acknowledging
16 // that the close-related operations have been completed by the
17 // tasklog.Logger.
18 wg *sync.WaitGroup
19}
20
21// NewSimpleTask returns a new *SimpleTask instance.
22func NewSimpleTask() *SimpleTask {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected