Move filesystem metadata to GetInformation method for information only plugins.

This commit is contained in:
2022-12-17 22:41:36 +00:00
parent 8d7f99e0d3
commit b7366181b4
2 changed files with 8 additions and 4 deletions

View File

@@ -40,6 +40,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using Aaru.CommonTypes.AaruMetadata;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Structs;
@@ -49,6 +50,9 @@ namespace Aaru.CommonTypes.Interfaces;
/// <summary>Defines the interface to implement reading the contents of a filesystem</summary>
public interface IReadOnlyFilesystem : IFilesystem
{
/// <summary>Information about the filesystem as expected by Aaru Metadata</summary>
FileSystem Metadata { get; }
/// <summary>Retrieves a list of options supported by the filesystem, with name, type and description</summary>
IEnumerable<(string name, Type type, string description)> SupportedOptions { get; }