diff options
| author | Fuwn <[email protected]> | 2025-06-26 07:05:04 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-26 07:05:04 -0700 |
| commit | bf612d8a54317f94f0be2febd342819192f461f6 (patch) | |
| tree | af38635f016632f7eba57137afce55c098dd57f9 /Sora/Extensions/UUID+NilUUID.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-bf612d8a54317f94f0be2febd342819192f461f6.tar.xz sora-testing-bf612d8a54317f94f0be2febd342819192f461f6.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Extensions/UUID+NilUUID.swift')
| -rw-r--r-- | Sora/Extensions/UUID+NilUUID.swift | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Sora/Extensions/UUID+NilUUID.swift b/Sora/Extensions/UUID+NilUUID.swift new file mode 100644 index 0000000..656ce40 --- /dev/null +++ b/Sora/Extensions/UUID+NilUUID.swift @@ -0,0 +1,7 @@ +import Foundation + +extension UUID { + static func nilUUID() -> UUID { + UUID(uuidString: "00000000-0000-0000-0000-000000000000")! + } +} |