From 2bcd319da9fedef48ccaf7ed10af9a2f32945289 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 3 Feb 2026 01:16:33 +0000 Subject: [PATCH] [BeOFS] Move properties to principal. --- Aaru.Filesystems/BOFS/BOFS.cs | 13 +++++++++++-- Aaru.Filesystems/BOFS/Unimplemented.cs | 11 ----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Aaru.Filesystems/BOFS/BOFS.cs b/Aaru.Filesystems/BOFS/BOFS.cs index 33742f076..bc303fdae 100644 --- a/Aaru.Filesystems/BOFS/BOFS.cs +++ b/Aaru.Filesystems/BOFS/BOFS.cs @@ -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"; - /// Cache of root directory entries (filenames and their metadata) private readonly Dictionary _rootDirectoryCache = []; @@ -53,6 +53,15 @@ public sealed partial class BOFS : IReadOnlyFilesystem /// The filesystem superblock containing metadata about the volume private Track0 _track0; + /// + public FileSystem Metadata { get; set; } + + /// + public IEnumerable<(string name, Type type, string description)> SupportedOptions { get; } = []; + + /// + public Dictionary Namespaces { get; } = []; + /// public string Name => Localization.Be_old_filesystem; diff --git a/Aaru.Filesystems/BOFS/Unimplemented.cs b/Aaru.Filesystems/BOFS/Unimplemented.cs index 26a60e6f3..a8f034bb8 100644 --- a/Aaru.Filesystems/BOFS/Unimplemented.cs +++ b/Aaru.Filesystems/BOFS/Unimplemented.cs @@ -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 { - /// - public FileSystem Metadata { get; set; } - - /// - public IEnumerable<(string name, Type type, string description)> SupportedOptions { get; } = []; - - /// - public Dictionary Namespaces { get; } = []; - /// public ErrorNumber Unmount() => throw new NotImplementedException();