View Source Bonfire.Files.Media (bonfire_umbrella v0.9.0-classic-beta.15)
Link to this section Summary
Functions
Delete an upload, removing any associated files.
Delete an upload, removing it from indexing, but the files remain available.
Link to this section Types
Link to this section Functions
@spec hard_delete(atom(), t()) :: :ok | {:error, Ecto.Changeset.t()}
Delete an upload, removing any associated files.
@spec soft_delete(t()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}
Delete an upload, removing it from indexing, but the files remain available.