MCPcopy Index your code
hub / github.com/devploit/nomore403 / newProgress

Function newProgress

cmd/progress.go:53–65  ·  view source on GitHub ↗

newProgress creates a new progress tracker. Pass 0 total to disable.

(technique string, total int)

Source from the content-addressed store, hash-verified

51
52// newProgress creates a new progress tracker. Pass 0 total to disable.
53func newProgress(technique string, total int) *progress {
54 p := &progress{
55 total: int64(total),
56 technique: technique,
57 barWidth: 25,
58 }
59 if total > 0 && progressEnabled() {
60 printMutex.Lock()
61 activeProgress = p
62 printMutex.Unlock()
63 }
64 return p
65}
66
67// done increments the completed counter and redraws the progress bar.
68func (p *progress) done() {

Callers 15

requestMethodsFunction · 0.85
requestHeadersFunction · 0.85
requestEndPathsFunction · 0.85
requestMidPathsFunction · 0.85
requestDoubleEncodingFunction · 0.85
requestUnicodeEncodingFunction · 0.85
requestPayloadPositionsFunction · 0.85
requestPathCaseSwitchingFunction · 0.85
requestHopByHopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected