[STFS] Mark ListXAttr and GetXAttr as Not Supported.

This commit is contained in:
2025-09-03 03:06:44 +01:00
parent c88bff8fd5
commit 61919c5282
2 changed files with 27 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Interfaces;
using Aaru.CommonTypes.Structs;
@@ -10,13 +9,6 @@ public sealed partial class Stfs
{
#region IArchive Members
/// <inheritdoc />
public ErrorNumber ListXAttr(int entryNumber, out List<string> xattrs) => throw new NotImplementedException();
/// <inheritdoc />
public ErrorNumber GetXattr(int entryNumber, string xattr, ref byte[] buffer) =>
throw new NotImplementedException();
/// <inheritdoc />
public ErrorNumber Stat(int entryNumber, out FileEntryInfo stat) => throw new NotImplementedException();

View File

@@ -0,0 +1,27 @@
using System.Collections.Generic;
using Aaru.CommonTypes.Enums;
namespace Aaru.Archives;
public sealed partial class Stfs
{
#region IArchive Members
/// <inheritdoc />
public ErrorNumber ListXAttr(int entryNumber, out List<string> xattrs)
{
xattrs = null;
return ErrorNumber.NotSupported;
}
/// <inheritdoc />
public ErrorNumber GetXattr(int entryNumber, string xattr, ref byte[] buffer)
{
buffer = null;
return ErrorNumber.NotSupported;
}
#endregion
}