Table of Contents

Class NestedArchiveCache

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

T-F98: temp cache for the Archive Browser's nested-archive drill-down, one Guid subfolder per nesting level extracted so far — mirrors PreviewCache's shape, but adds DeleteScope for immediate per-level cleanup on navigating back out. That's safe here (unlike PreviewCache, which must wait for window close since an external OS handler may still have the previewed file open): nothing outside Pakko ever holds a handle into a nested-archive scope once the user leaves that level. T-F252: one subfolder per process (ProcessTempRoot).

public static class NestedArchiveCache
Inheritance
NestedArchiveCache
Inherited Members

Properties

OwnDirectory

This process's nested-archive folder.

public static string OwnDirectory { get; }

Property Value

string

RootDirectory

Root temp directory every process's nested-archive scopes live under.

public static string RootDirectory { get; }

Property Value

string

Methods

CreateScope()

Creates a fresh scope directory for one nesting level and returns its path.

public static string CreateScope()

Returns

string

DeleteOwn()

Deletes this process's nested-archive scopes.

public static void DeleteOwn()

DeleteScope(string)

Deletes one nesting level's scope directory when the user navigates back out of it. Best-effort — never surfaces to the caller; DeleteOwn() is the safety net for anything left behind by the window closing mid-drill-down.

public static void DeleteScope(string scopeDir)

Parameters

scopeDir string

SweepStale()

Deletes nested-archive folders left by Pakko processes that no longer run.

public static void SweepStale()