MCPcopy Create free account
hub / github.com/aptly-dev/aptly / LinkFromPool

Method LinkFromPool

aptly/interfaces.go:75–75  ·  view source on GitHub ↗

LinkFromPool links package file from pool to dist's pool location

(publishedPrefix, publishedRelPath, fileName string, sourcePool PackagePool, sourcePath string, sourceChecksums utils.ChecksumInfo, force bool)

Source from the content-addressed store, hash-verified

73 Remove(path string) error
74 // LinkFromPool links package file from pool to dist's pool location
75 LinkFromPool(publishedPrefix, publishedRelPath, fileName string, sourcePool PackagePool, sourcePath string, sourceChecksums utils.ChecksumInfo, force bool) error
76 // Filelist returns list of files under prefix
77 Filelist(prefix string) ([]string, error)
78 // RenameFile renames (moves) file

Callers 14

TestLinkFromPoolMethod · 0.65
LinkFromPoolMethod · 0.65
PublishMethod · 0.65
TestLinkFromPoolMethod · 0.65
TestLinkFromPoolMethod · 0.65
TestLinkFromPoolMethod · 0.65
TestLinkFromPoolMethod · 0.65
TestLinkFromPoolCacheMethod · 0.65
TestLinkFromPoolMethod · 0.65

Implementers 6

PublishedStoragefiles/public.go
PublishedStorageazure/public.go
PublishedStoragegcs/public.go
PublishedStorages3/public.go
PublishedStorageswift/public.go
PublishedStoragejfrog/public.go

Calls

no outgoing calls