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

Method Link

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

Link generates hardlink to destination path

(path, dstPath string)

Source from the content-addressed store, hash-verified

53 GenerateTempPath(filename string) (string, error)
54 // Link generates hardlink to destination path
55 Link(path, dstPath string) error
56 // Symlink generates symlink to destination path
57 Symlink(path, dstPath string) error
58 // FullPath generates full path to the file in pool

Callers 5

LinkFromPoolMethod · 0.95
HardLinkMethod · 0.65
ImportMethod · 0.65
LinkMethod · 0.65
TestLinkMethod · 0.65

Implementers 3

PackagePoolfiles/package_pool.go
fakeLocalPoolfiles/public_test.go
fakeLocalPooljfrog/public_test.go

Calls

no outgoing calls

Tested by 1

TestLinkMethod · 0.52