mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
REFACTOR: All refactor in DiscImageChef.Filesystems.
This commit is contained in:
@@ -77,14 +77,14 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
public AppleDOS()
|
||||
{
|
||||
Name = "Apple DOS File System";
|
||||
PluginUUID = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
PluginUuid = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
CurrentEncoding = new LisaRoman();
|
||||
}
|
||||
|
||||
public AppleDOS(Encoding encoding)
|
||||
{
|
||||
Name = "Apple DOS File System";
|
||||
PluginUUID = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
PluginUuid = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
// TODO: Until Apple ][ encoding is implemented
|
||||
CurrentEncoding = new LisaRoman();
|
||||
}
|
||||
@@ -94,7 +94,7 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
device = imagePlugin;
|
||||
start = partition.Start;
|
||||
Name = "Apple DOS File System";
|
||||
PluginUUID = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
PluginUuid = new Guid("8658A1E9-B2E7-4BCC-9638-157A31B0A700\n");
|
||||
// TODO: Until Apple ][ encoding is implemented
|
||||
CurrentEncoding = new LisaRoman();
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
|
||||
information = sb.ToString();
|
||||
|
||||
xmlFSType = new FileSystemType
|
||||
XmlFsType = new FileSystemType
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = (long)imagePlugin.ImageInfo.Sectors,
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
}
|
||||
|
||||
// Create XML metadata for mounted filesystem
|
||||
xmlFSType = new FileSystemType
|
||||
XmlFsType = new FileSystemType
|
||||
{
|
||||
Bootable = true,
|
||||
Clusters = (long)device.ImageInfo.Sectors,
|
||||
@@ -109,7 +109,7 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
FreeClustersSpecified = true,
|
||||
Type = "Apple DOS"
|
||||
};
|
||||
xmlFSType.FreeClusters = xmlFSType.Clusters - usedSectors;
|
||||
XmlFsType.FreeClusters = XmlFsType.Clusters - usedSectors;
|
||||
|
||||
this.debug = debug;
|
||||
mounted = true;
|
||||
@@ -141,7 +141,7 @@ namespace DiscImageChef.Filesystems.AppleDOS
|
||||
Blocks = (long)device.ImageInfo.Sectors,
|
||||
FilenameLength = 30,
|
||||
Files = (ulong)catalogCache.Count,
|
||||
PluginId = PluginUUID,
|
||||
PluginId = PluginUuid,
|
||||
Type = "Apple DOS"
|
||||
};
|
||||
stat.FreeFiles = totalFileEntries - stat.Files;
|
||||
|
||||
Reference in New Issue
Block a user