Belt v0.1.9 Belt.Provider.Filesystem
Provider module offering support for storing files in a directory on the local filesystem.
Summary
Types
Options for creating an Filesystem provider
Functions
Creates a new Filesystem provider configuration with default credentials
Implementation of the Belt.Provider.delete/3
callback
Implementation of the Belt.Provider.delete_all/2
callback
Implementation of the Belt.Provider.delete_scope/3
callback
Implementation of the Belt.Provider.get_info/3
callback
Implementation of the Belt.Provider.get_url/3
callback
Implementation of the Belt.Provider.list_files/2
callback
Creates a new Filesystem provider configuration
Implementation of the Belt.Provider.store/3
callback
Types
Options for creating an Filesystem provider.
Functions
default([filesystem_option]) :: {:ok, Belt.Provider.configuration} | {:error, term}
Creates a new Filesystem provider configuration with default credentials.
Any provided options
override the default settings which are retrieved from
the application configuration.
Example
# config.exs
config :belt, Belt.Provider.Filesystem,
default: [
directory: "/foo",
base_url: "https://example.com/"]