Module indradb::util

source ·
Expand description

Utility functions.

Functions

Generates a securely random string consisting of letters (uppercase and lowercase) and digits.
Gets the path to a file or directory within the temporary directory, in a platform-independent manner. Note that this will panic if the path cannot be formatted into UTF-8.
Generates a UUID v1. this utility method uses a shared context and node ID to help ensure generated UUIDs are unique.
Gets the number of nanoseconds since unix epoch for a given datetime.
Gets the next UUID that would occur after the given one.