View Source Rivet.Utils.Codes (rivet_utils v2.0.3)

Contributor: Brandon Gillespie

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

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