MCPcopy
hub / github.com/pocketbase/pocketbase / Exists

Method Exists

tools/filesystem/filesystem.go:103–105  ·  view source on GitHub ↗

Exists checks if file with fileKey path exists or not.

(fileKey string)

Source from the content-addressed store, hash-verified

101
102// Exists checks if file with fileKey path exists or not.
103func (s *System) Exists(fileKey string) (bool, error) {
104 return s.bucket.Exists(s.ctx, fileKey)
105}
106
107// Attributes returns the attributes for the file with fileKey path.
108//

Callers 14

TestFileSystemExistsFunction · 0.45
TestFileSystemUploadFileFunction · 0.45
TestFileSystemUploadFunction · 0.45
expandRecordsMethod · 0.45
RestoreBackupMethod · 0.45
cascadeRecordDeleteFunction · 0.45
backupRestoreFunction · 0.45
checkUniqueNameMethod · 0.45

Calls

no outgoing calls