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