checkpoint
This commit is contained in:
@@ -3,11 +3,15 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace Foodsoft.Alpm
|
||||
{
|
||||
public struct Backup
|
||||
public readonly struct Backup : IEquatable<Backup>
|
||||
{
|
||||
public string Name { get; }
|
||||
public string Hash { get; }
|
||||
|
||||
public bool Equals(Backup other) => Name == other.Name && Hash == other.Hash;
|
||||
public override bool Equals(object? obj) => obj is Backup other && Equals(other);
|
||||
public override int GetHashCode() => HashCode.Combine(Name, Hash);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
private readonly unsafe struct NativeBackup
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user