Table of Contents

Class ArchiveTree

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

An archive's folder tree. Many ZIPs have no explicit directory entries — folders are implied by '/' in file paths — while tar-family listings carry them; both shapes give the same tree, and the first entry at a path wins. A folder's row list is built on first request, so only visited folders pay for full-path strings (T-F237: one string per ancestor was O(depth^2)).

public sealed class ArchiveTree
Inheritance
ArchiveTree
Inherited Members

Methods

TryGetChildren(string, out IReadOnlyList<ArchiveEntryViewModel>)

The rows of folderPath ('/'-separated, empty for the root), folders first, then files, both ordinal — File Explorer's order. False for a folder with no children.

public bool TryGetChildren(string folderPath, out IReadOnlyList<ArchiveEntryViewModel> children)

Parameters

folderPath string
children IReadOnlyList<ArchiveEntryViewModel>

Returns

bool