[BeOFS] Move properties to principal.

This commit is contained in:
2026-02-03 01:16:33 +00:00
parent 9ee3255349
commit 2bcd319da9
2 changed files with 11 additions and 13 deletions

View File

@@ -29,15 +29,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using Aaru.CommonTypes;
using Aaru.CommonTypes.AaruMetadata;
using Aaru.CommonTypes.Interfaces;
using Partition = Aaru.CommonTypes.Partition;
namespace Aaru.Filesystems;
public sealed partial class BOFS : IReadOnlyFilesystem
{
const string FS_TYPE = "beofs";
/// <summary>Cache of root directory entries (filenames and their metadata)</summary>
private readonly Dictionary<string, FileEntry> _rootDirectoryCache = [];
@@ -53,6 +53,15 @@ public sealed partial class BOFS : IReadOnlyFilesystem
/// <summary>The filesystem superblock containing metadata about the volume</summary>
private Track0 _track0;
/// <inheritdoc />
public FileSystem Metadata { get; set; }
/// <inheritdoc />
public IEnumerable<(string name, Type type, string description)> SupportedOptions { get; } = [];
/// <inheritdoc />
public Dictionary<string, string> Namespaces { get; } = [];
/// <inheritdoc />
public string Name => Localization.Be_old_filesystem;

View File

@@ -27,8 +27,6 @@
// ****************************************************************************/
using System;
using System.Collections.Generic;
using Aaru.CommonTypes.AaruMetadata;
using Aaru.CommonTypes.Enums;
using Aaru.CommonTypes.Interfaces;
@@ -36,15 +34,6 @@ namespace Aaru.Filesystems;
public sealed partial class BOFS
{
/// <inheritdoc />
public FileSystem Metadata { get; set; }
/// <inheritdoc />
public IEnumerable<(string name, Type type, string description)> SupportedOptions { get; } = [];
/// <inheritdoc />
public Dictionary<string, string> Namespaces { get; } = [];
/// <inheritdoc />
public ErrorNumber Unmount() => throw new NotImplementedException();