firebase_pushid v0.1.0 FirebasePushid.Bump View Source

Link to this section Summary

Functions

Updates last possible index to generate a not colisioning id example:

iex> FirebasePushid.Bump.call([1, 2, 3, 4])
[1, 2, 3, 5]

Link to this section Functions

Updates last possible index to generate a not colisioning id example:

iex> FirebasePushid.Bump.call([1, 2, 3, 4])
[1, 2, 3, 5]

iex> FirebasePushid.Bump.call([2, 63])
[3, 0]