View Source Mobilizon.Export (Mobilizon v5.0.0-beta.1)

Manage exported files

Summary

Types

@type t() :: %Mobilizon.Export{
  __meta__: term(),
  file_name: String.t() | nil,
  file_path: String.t(),
  file_size: integer() | nil,
  format: String.t(),
  id: term(),
  inserted_at: term(),
  reference: String.t(),
  type: String.t(),
  updated_at: term()
}

Functions

Link to this function

get_export(file_path, type, format)

View Source
@spec get_export(String.t(), String.t(), String.t()) :: t() | nil
Link to this function

outdated(type, format, expiration)

View Source
@spec outdated(String.t(), String.t(), integer()) :: [t()]