mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Implement GetAttributes() in FAT.
This commit is contained in:
@@ -52,7 +52,13 @@ namespace DiscImageChef.Filesystems.FAT
|
|||||||
attributes = new FileAttributes();
|
attributes = new FileAttributes();
|
||||||
if(!mounted) return Errno.AccessDenied;
|
if(!mounted) return Errno.AccessDenied;
|
||||||
|
|
||||||
throw new NotImplementedException();
|
Errno err = Stat(path, out FileEntryInfo stat);
|
||||||
|
|
||||||
|
if(err != Errno.NoError) return err;
|
||||||
|
|
||||||
|
attributes = stat.Attributes;
|
||||||
|
|
||||||
|
return Errno.NoError;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Errno Read(string path, long offset, long size, ref byte[] buf)
|
public Errno Read(string path, long offset, long size, ref byte[] buf)
|
||||||
|
|||||||
Reference in New Issue
Block a user