Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
205 B

using Blake3;
namespace StabilityMatrix.Core.Extensions;
public static class HashExtensions
{
public static Guid ToGuid(this Hash hash)
{
return new Guid(hash.AsSpan()[..16]);
}
}