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

Method RenameFile

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

RenameFile renames (moves) file

(oldName, newName string)

Source from the content-addressed store, hash-verified

77 Filelist(prefix string) ([]string, error)
78 // RenameFile renames (moves) file
79 RenameFile(oldName, newName string) error
80 // SymLink creates a symbolic link, which can be read with ReadLink
81 SymLink(src string, dst string) error
82 // HardLink creates a hardlink of a file

Callers 7

TestRenameFileMethod · 0.65
packageIndexByHashFunction · 0.65
RenameFilesMethod · 0.65
TestRenameFileMethod · 0.65
TestRenameFileMethod · 0.65
TestRenameFileMethod · 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 5

TestRenameFileMethod · 0.52
TestRenameFileMethod · 0.52
TestRenameFileMethod · 0.52
TestRenameFileMethod · 0.52