FileStore.Middleware.Prefix (file_store v0.3.0) View Source
This module adds a prefix to all operations.
store
|> FileStore.Middleware.new(prefix: "companies/logos")
|> FileStore.read("example.jpg")
In the example above, the key example.jpg
would become
companies/logos/example.jpg
.
See the documentation for FileStore.Middleware
for more information.
Link to this section Summary
Functions
Add the prefix adapter to your store.
Link to this section Functions
Add the prefix adapter to your store.