Supabase.Storage.Objects (Supabase v0.3.0) View Source

Link to this section Summary

Link to this section Functions

Link to this function

copy(conn, bucket, source_key, destination_key)

View Source

Specs

copy(Supabase.Connection.t(), Storage.Bucket.t(), String.t(), String.t()) ::
  {:error, map()} | {:ok, map()}
Link to this function

create(conn, bucket, object_path, file, opts \\ [])

View Source

Specs

create(
  Supabase.Connection.t(),
  String.t() | Supabase.Storage.Bucket.t(),
  String.t(),
  String.t(),
  keyword()
) :: {:error, map()} | {:ok, map()}

Specs

delete(Supabase.Connection.t(), String.t()) :: {:ok, map()} | {:error, map()}
Link to this function

delete(conn, bucket, object_path)

View Source

Specs

delete(
  Supabase.Connection.t(),
  Supabase.Storage.Bucket.t() | String.t(),
  String.t()
) ::
  {:ok, map()} | {:error, map()}

Specs

get(Supabase.Connection.t(), String.t()) :: {:error, map()} | {:ok, binary()}
Link to this function

get(conn, bucket, object)

View Source

Specs

get(
  Supabase.Connection.t(),
  Supabase.Storage.Bucket.t(),
  Supabase.Storage.Object.t()
) ::
  {:error, map()} | {:ok, binary()}
get(Supabase.Connection.t(), String.t(), String.t()) ::
  {:error, map()} | {:ok, binary()}
Link to this function

list(conn, bucket, folder, options \\ [])

View Source

Specs

list(
  Supabase.Connection.t(),
  String.t() | Supabase.Storage.Bucket.t(),
  String.t(),
  keyword()
) ::
  {:ok, [Supabase.Storage.Object.t()]} | {:error, map()}
Link to this function

move(conn, bucket, source_key, destination_key)

View Source

Specs

move(Supabase.Connection.t(), Storage.Bucket.t(), String.t(), String.t()) ::
  {:error, map()} | {:ok, map()}

Specs

sign(Supabase.Connection.t(), String.t()) :: {:error, map()} | {:ok, map()}
Link to this function

sign(conn, bucket, object_path, opts \\ [])

View Source

Specs

sign(
  Supabase.Connection.t(),
  Supabase.Storage.Bucket.t() | String.t(),
  String.t(),
  keyword()
) ::
  {:error, map()} | {:ok, map()}
Link to this function

update(conn, bucket, path, file, opts)

View Source