Consolidate error number enumerations.

This commit is contained in:
2021-09-16 04:42:14 +01:00
parent a615cde12e
commit 12a72a45e4
78 changed files with 945 additions and 906 deletions

View File

@@ -33,8 +33,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Interfaces;
using Aaru.CommonTypes.Structs;
using Schemas;
namespace Aaru.Filesystems.UCSDPascal
@@ -66,22 +66,22 @@ namespace Aaru.Filesystems.UCSDPascal
public string Author => "Natalia Portillo";
/// <inheritdoc />
public Errno ListXAttr(string path, out List<string> xattrs)
public ErrorNumber ListXAttr(string path, out List<string> xattrs)
{
xattrs = null;
return Errno.NotSupported;
return ErrorNumber.NotSupported;
}
/// <inheritdoc />
public Errno GetXattr(string path, string xattr, ref byte[] buf) => Errno.NotSupported;
public ErrorNumber GetXattr(string path, string xattr, ref byte[] buf) => ErrorNumber.NotSupported;
/// <inheritdoc />
public Errno ReadLink(string path, out string dest)
public ErrorNumber ReadLink(string path, out string dest)
{
dest = null;
return Errno.NotSupported;
return ErrorNumber.NotSupported;
}
/// <inheritdoc />