View Source Rivet.Utils.Codes (rivet_utils v1.0.4)

Contributor: Brandon Gillespie

Link to this section Summary

Functions

iex> cleaned_short_id("asdf-L0Ol") "asdf1001"

iex> {:ok, code} = generate(5, fn _ -> false end) iex> String.length(code) 5

iex> uuid = stripped_uuid() iex> String.length(uuid) 31

Link to this section Functions

iex> cleaned_short_id("asdf-L0Ol") "asdf1001"

iex> {:ok, code} = generate(5, fn _ -> false end) iex> String.length(code) 5

Link to this function

get_shortest(biggest, len, increment, exists)

View Source

iex> uuid = stripped_uuid() iex> String.length(uuid) 31