MCPcopy
hub / github.com/dragonflyoss/dragonfly / GetOutputPath

Method GetOutputPath

test/e2e/util/file.go:123–125  ·  view source on GitHub ↗

GetOutputPath returns the output path of the file.

()

Source from the content-addressed store, hash-verified

121
122// GetOutputPath returns the output path of the file.
123func (f *File) GetOutputPath() string {
124 return path.Join("/tmp", f.info.Name())
125}
126
127// parseRangeHeader parses the Range header value and returns start and end positions.
128func parseRangeHeader(rangeHeader string, fileSize int64) (start, end int64) {

Callers 4

rate_limit_test.goFile · 0.80
dfcache_test.goFile · 0.80
proxy_test.goFile · 0.80
dfget_test.goFile · 0.80

Calls 1

NameMethod · 0.80

Tested by

no test coverage detected