[TUI] Identify partitions.

This commit is contained in:
2025-10-16 11:43:03 +01:00
parent 28b59e8535
commit 2f885affe7
6 changed files with 107 additions and 13 deletions

View File

@@ -0,0 +1,19 @@
using System.Collections.ObjectModel;
using Aaru.CommonTypes;
namespace Aaru.Tui.Models;
public class FileSystemModelNode
{
public FileSystemModelNode(string title) => Title = title;
public FileSystemModelNode(string title, ObservableCollection<FileSystemModelNode> subNodes)
{
Title = title;
SubNodes = subNodes;
}
public ObservableCollection<FileSystemModelNode>? SubNodes { get; }
public string Title { get; }
public Partition? Partition { get; set; }
}