Move filesystem metadata to GetInformation method for information only plugins.

This commit is contained in:
2022-12-17 22:41:56 +00:00
parent 42b9caaaa0
commit dc26b85c2f
135 changed files with 732 additions and 734 deletions

View File

@@ -69,10 +69,12 @@ public sealed partial class RT11
}
/// <inheritdoc />
public void GetInformation(IMediaImage imagePlugin, Partition partition, out string information, Encoding encoding)
public void GetInformation(IMediaImage imagePlugin, Partition partition, Encoding encoding, out string information,
out FileSystem metadata)
{
Encoding = new Radix50();
information = "";
metadata = new FileSystem();
var sb = new StringBuilder();
@@ -110,7 +112,7 @@ public sealed partial class RT11
imagePlugin.ReadSector(0, out byte[] bootBlock);
Metadata = new FileSystem
metadata = new FileSystem
{
Type = FS_TYPE,
ClusterSize = (uint)(homeblock.cluster * 512),

View File

@@ -32,7 +32,6 @@
using System;
using System.Text;
using Aaru.CommonTypes.AaruMetadata;
using Aaru.CommonTypes.Interfaces;
namespace Aaru.Filesystems;
@@ -42,8 +41,6 @@ namespace Aaru.Filesystems;
/// <summary>Implements detection of the DEC RT-11 filesystem</summary>
public sealed partial class RT11 : IFilesystem
{
/// <inheritdoc />
public FileSystem Metadata { get; private set; }
/// <inheritdoc />
public Encoding Encoding { get; private set; }
/// <inheritdoc />