MCPcopy Index your code
hub / github.com/imroc/req / getRangeTempFile

Function getRangeTempFile

parallel_download.go:138–140  ·  view source on GitHub ↗
(rangeStart, rangeEnd int64, workerDir string)

Source from the content-addressed store, hash-verified

136}
137
138func getRangeTempFile(rangeStart, rangeEnd int64, workerDir string) string {
139 return filepath.Join(workerDir, fmt.Sprintf("temp-%d-%d", rangeStart, rangeEnd))
140}
141
142type downloadTask struct {
143 index int

Callers 1

handleTaskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…