diff --git a/Aaru.Archives/Ha/Unimplemented.cs b/Aaru.Archives/Ha/Unimplemented.cs index 8b2c1ad9e..d28919c78 100644 --- a/Aaru.Archives/Ha/Unimplemented.cs +++ b/Aaru.Archives/Ha/Unimplemented.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using Aaru.CommonTypes.Enums; using Aaru.CommonTypes.Interfaces; using Aaru.CommonTypes.Structs; @@ -16,12 +15,6 @@ public sealed partial class Ha throw new NotImplementedException(); /// - public ErrorNumber ListXAttr(int entryNumber, out List xattrs) => throw new NotImplementedException(); - - /// - public ErrorNumber GetXattr(int entryNumber, string xattr, ref byte[] buffer) => - throw new NotImplementedException(); - /// public ErrorNumber Stat(int entryNumber, out FileEntryInfo stat) => throw new NotImplementedException(); diff --git a/Aaru.Archives/Ha/Unsupported.cs b/Aaru.Archives/Ha/Unsupported.cs new file mode 100644 index 000000000..0627974d6 --- /dev/null +++ b/Aaru.Archives/Ha/Unsupported.cs @@ -0,0 +1,26 @@ +using System.Collections.Generic; +using Aaru.CommonTypes.Enums; + +namespace Aaru.Archives; + +public sealed partial class Ha +{ +#region IArchive Members + + public ErrorNumber ListXAttr(int entryNumber, out List xattrs) + { + xattrs = []; + + return ErrorNumber.NotSupported; + } + + /// + public ErrorNumber GetXattr(int entryNumber, string xattr, ref byte[] buffer) + { + buffer = null; + + return ErrorNumber.NotSupported; + } + +#endregion +} \ No newline at end of file