Table of Contents

Class TarCapabilities

Namespace
Archiver.Core.Models
Assembly
Archiver.Core.dll

What the system's tar.exe (libarchive) supports, probed once via ITarService.DetectCapabilitiesAsync by parsing its version output. tar.exe can read RAR/7z but never write either — libarchive has no writer for them (see CLAUDE.md's tar.exe format-support hard constraint).

public sealed record TarCapabilities : IEquatable<TarCapabilities>
Inheritance
TarCapabilities
Implements
Inherited Members

Properties

Supports7z

Can read 7z archives (read-only — no 7z writer exists in libarchive).

public bool Supports7z { get; init; }

Property Value

bool

SupportsBz2

Can read and write .tar.bz2.

public bool SupportsBz2 { get; init; }

Property Value

bool

SupportsLzma

Can read and write .tar.lzma.

public bool SupportsLzma { get; init; }

Property Value

bool

SupportsRar

Can read RAR archives (read-only — no RAR writer exists in libarchive).

public bool SupportsRar { get; init; }

Property Value

bool

SupportsXz

Can read and write .tar.xz.

public bool SupportsXz { get; init; }

Property Value

bool

SupportsZstd

Can read and write .tar.zst.

public bool SupportsZstd { get; init; }

Property Value

bool

Version

The raw tar --version output the probe parsed, for diagnostics.

public string Version { get; init; }

Property Value

string