Table of Contents

Class ArchiveTreeIndex

Namespace
Archiver.App.Core
Assembly
Archiver.App.Core.dll

Builds an ArchiveTree from a flat ArchiveEntryInfo list, once per archive open. Lives in Archiver.App.Core (not Archiver.Core) because Archiver.Core has zero WinUI/UI-model references — a folder hierarchy is an App-layer concern.

public static class ArchiveTreeIndex
Inheritance
ArchiveTreeIndex
Inherited Members

Methods

Build(IReadOnlyList<ArchiveEntryInfo>)

Builds the folder tree; linear in the total length of the entry paths.

public static ArchiveTree Build(IReadOnlyList<ArchiveEntryInfo> flatEntries)

Parameters

flatEntries IReadOnlyList<ArchiveEntryInfo>

Returns

ArchiveTree