MCPcopy
hub / github.com/iuroc/bilidown / add

Method add

server/task/task.go:361–363  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

359}
360
361func (p *progressBar) add(n int) {
362 p.current += int64(n)
363}
364
365func (p *progressBar) percent() float64 {
366 return float64(p.current) / float64(p.total)

Callers 5

index.tsFile · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
startMethod · 0.80
DownloadMediaFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected