Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a get_node_id method for v1 and v6 UUIDs #748

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Mar 19, 2024

Closes #648

This PR adds a Uuid::get_node_id method that returns Some([a, b, c, d, e, f]) for V1 and V6 UUIDs, and None for others. It can help support conversion between V1 and V6 UUIDs.

I've also just fixed up some new warnings along the way.

@KodrAus KodrAus merged commit 1d123ec into main Mar 20, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add reordering to convert between v1 and v6 UUIDs
1 participant