MCPcopy
hub / github.com/pocketbase/pocketbase / GetFile

Method GetFile

tools/filesystem/filesystem.go:124–127  ·  view source on GitHub ↗

Deprecated: Please use GetReader(fileKey) instead.

(fileKey string)

Source from the content-addressed store, hash-verified

122
123// Deprecated: Please use GetReader(fileKey) instead.
124func (s *System) GetFile(fileKey string) (*blob.Reader, error) {
125 color.Yellow("Deprecated: Please replace GetFile with GetReader.")
126 return s.GetReader(fileKey)
127}
128
129// GetReuploadableFile constructs a new reuploadable File value
130// from the associated fileKey blob.Reader.

Callers

nothing calls this directly

Calls 1

GetReaderMethod · 0.95

Tested by

no test coverage detected