UUID generation and representation utilities, matching kombu.utils.uuid
and kombu.common.oid_from.
Summary
Functions
Format %Kombu.Utils.UUID{} or 32-char hex string into canonical 36-char hyphenated string.
Generate a deterministic object identifier matching kombu.common.oid_from.
Parse a UUID string or 32-character hex string into %Kombu.Utils.UUID{}.
Generate a %Kombu.Utils.UUID{} struct for a random UUID4.
Generate a UUID5 string from a 16-byte namespace binary (or UUID string) and name.
Generate a random UUID4 string ("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").
Types
@type t() :: %Kombu.Utils.UUID{hex: String.t(), version: pos_integer() | nil}
Functions
Format %Kombu.Utils.UUID{} or 32-char hex string into canonical 36-char hyphenated string.
Generate a deterministic object identifier matching kombu.common.oid_from.
Parse a UUID string or 32-character hex string into %Kombu.Utils.UUID{}.
@spec uuid4() :: String.t()
@spec uuid4_struct() :: t()
Generate a %Kombu.Utils.UUID{} struct for a random UUID4.
Generate a UUID5 string from a 16-byte namespace binary (or UUID string) and name.
@spec uuid() :: String.t()
Generate a random UUID4 string ("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx").