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

Method FileExists

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

FileExists returns true if path exists

(path string)

Source from the content-addressed store, hash-verified

83 HardLink(src string, dst string) error
84 // FileExists returns true if path exists
85 FileExists(path string) (bool, error)
86 // ReadLink returns the symbolic link pointed to by path
87 ReadLink(path string) (string, error)
88}

Callers 12

TestFileExistsMethod · 0.65
TestSymLinkMethod · 0.65
TestHardLinkMethod · 0.65
packageIndexByHashFunction · 0.65
TestRenameFileMethod · 0.65
TestFileExistsMethod · 0.65
TestFileExistsMethod · 0.65
TestFileExistsMethod · 0.65
TestFileExistsMethod · 0.65
TestFileExistsMethod · 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 11

TestFileExistsMethod · 0.52
TestSymLinkMethod · 0.52
TestHardLinkMethod · 0.52
TestRenameFileMethod · 0.52
TestFileExistsMethod · 0.52
TestFileExistsMethod · 0.52
TestFileExistsMethod · 0.52
TestFileExistsMethod · 0.52
TestFileExistsMethod · 0.52