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

Method LegacyPath

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

LegacyPath returns legacy (pre 1.1) path to package file (relative to root)

(filename string, checksums *utils.ChecksumInfo)

Source from the content-addressed store, hash-verified

35 Import(srcPath, basename string, checksums *utils.ChecksumInfo, move bool, storage ChecksumStorage) (path string, err error)
36 // LegacyPath returns legacy (pre 1.1) path to package file (relative to root)
37 LegacyPath(filename string, checksums *utils.ChecksumInfo) (string, error)
38 // Size returns the size of the given file in bytes.
39 Size(path string) (size int64, err error)
40 // Open returns ReadSeekerCloser to access the file

Callers 2

TestLegacyPathMethod · 0.65
GetPoolPathMethod · 0.65

Implementers 5

PackagePoolfiles/package_pool.go
fakePoolfiles/public_test.go
PackagePoolazure/package_pool.go
fakeLocalPooljfrog/public_test.go
fakeRemotePooljfrog/public_test.go

Calls

no outgoing calls

Tested by 1

TestLegacyPathMethod · 0.52