mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[PTRun][ValueGenerator]Add support for UUIDv7 (#35757)
* add Run support for UUIDv7 generation * simplify comments and maybe satisfy spell check * fix endianess * prefer stack allocation for temporary fixed-size buffer * perhaps the async test caused the pipeline to hang * switch to .NET 9 BCL implementation of UUIDv7 * add UUIDv7 to input query suggestions + update exception messages to include v7 * simplify Guid description switch + update devdocs
This commit is contained in:
@@ -94,7 +94,7 @@ namespace Community.PowerToys.Run.Plugin.ValueGenerator
|
||||
|
||||
if (!int.TryParse(versionQuery, null, out version))
|
||||
{
|
||||
throw new FormatException("Could not determine requested GUID version. Supported versions are 1, 3, 4 and 5");
|
||||
throw new FormatException("Could not determine requested GUID version. Supported versions are 1, 3, 4, 5, and 7");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user