MCPcopy Index your code
hub / github.com/aptly-dev/aptly / DownloadURL

Method DownloadURL

deb/package_files.go:52–54  ·  view source on GitHub ↗

DownloadURL return relative URL to package download location

()

Source from the content-addressed store, hash-verified

50
51// DownloadURL return relative URL to package download location
52func (f *PackageFile) DownloadURL() string {
53 return filepath.Join(f.downloadPath, f.Filename)
54}
55
56// PackageFiles is collection of package files
57type PackageFiles []PackageFile

Callers 12

StanzaMethod · 0.80
TestDownloadMethod · 0.80
TestDownloadFlatMethod · 0.80
TestDownloadURLMethod · 0.80
BuildDownloadQueueMethod · 0.80
aptlyMirrorUpdateFunction · 0.80
apiMirrorsUpdateFunction · 0.80

Calls

no outgoing calls

Tested by 7

TestDownloadMethod · 0.64
TestDownloadFlatMethod · 0.64
TestDownloadURLMethod · 0.64