Attached.StorageBackends.Disk (Attached v0.1.0)

Copy Markdown View Source

Stores files on the local filesystem.

Configuration

config :attached,
  service: Attached.StorageBackends.Disk,
  disk: [
    root: Path.join(["priv", "attachments"]),
    base_url: "/attachments"
  ]

Summary

Functions

Returns the absolute filesystem path for a given key.

Functions

path_for(key)

Returns the absolute filesystem path for a given key.