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

Method PutFile

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

PutFile puts file into published storage at specified path

(path string, sourceFilename string)

Source from the content-addressed store, hash-verified

67 MkDir(path string) error
68 // PutFile puts file into published storage at specified path
69 PutFile(path string, sourceFilename string) error
70 // RemoveDirs removes directory structure under public path
71 RemoveDirs(path string, progress Progress) error
72 // Remove removes single file under public path

Callers 15

TestPutFileMethod · 0.65
TestFilelistMethod · 0.65
TestRenameFileMethod · 0.65
TestFileExistsMethod · 0.65
TestSymLinkMethod · 0.65
TestHardLinkMethod · 0.65
TestRemoveDirsMethod · 0.65
TestRemoveMethod · 0.65
FinalizeMethod · 0.65
TestPutFileMethod · 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

Tested by 15

TestPutFileMethod · 0.52
TestFilelistMethod · 0.52
TestRenameFileMethod · 0.52
TestFileExistsMethod · 0.52
TestSymLinkMethod · 0.52
TestHardLinkMethod · 0.52
TestRemoveDirsMethod · 0.52
TestRemoveMethod · 0.52
TestPutFileMethod · 0.52
TestPutFilePlusMethod · 0.52