MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / NewFilesystem

Method NewFilesystem

core/app.go:98–98  ·  view source on GitHub ↗

NewFilesystem creates a new local or S3 filesystem instance for managing regular app files (ex. record uploads) based on the current app settings. NB! Make sure to call Close() on the returned result after you are done working with it.

()

Source from the content-addressed store, hash-verified

96 // NB! Make sure to call Close() on the returned result
97 // after you are done working with it.
98 NewFilesystem() (*filesystem.System, error)
99
100 // NewBackupsFilesystem creates a new local or S3 filesystem instance
101 // for managing app backups based on the current app settings.

Callers 6

checkRecordFilesFunction · 0.65
deleteEmptyRecordDirMethod · 0.65
processFilesToUploadMethod · 0.65
downloadMethod · 0.65

Calls

no outgoing calls

Tested by 2

checkRecordFilesFunction · 0.52