Skip to content

UUID Update#2862

Closed
jkthorne wants to merge 8 commits intocrystal-lang:masterfrom
jkthorne:uuid
Closed

UUID Update#2862
jkthorne wants to merge 8 commits intocrystal-lang:masterfrom
jkthorne:uuid

Conversation

@jkthorne
Copy link
Contributor

This is a bump/update to #2716

@ysbaddaden
Copy link
Collaborator

Could you squash all the src/uuid/* files into a single src/uuid.cr file?

@@ -0,0 +1,14 @@
struct UUID
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about?

module UUID
  NIL = UUID.new(StaticArray(UInt8, 16).new)
end

I don't see a use case for the empty! method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aside from the empty is there a reason why you put in module

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a use case for an empty UUID?

@jkthorne jkthorne closed this Oct 18, 2016
@jkthorne jkthorne deleted the uuid branch May 23, 2017 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants