Zero Install .NET API  2.18.6
ZeroInstall.Store.Implementations.Archives Namespace Reference

Logic for extracting and creating various kinds of archives. More...

Classes

class  ArchiveExtractor
 Extracts an archive. More...
 
class  ArchiveGenerator
 Creates an archive from a directory. Preserves executable bits, symlinks and timestamps. More...
 
class  RarExtractor
 Extracts a RAR archive. More...
 
class  RubyGemExtractor
 Extracts a Ruby Gem archive. More...
 
class  SevenZipExtractor
 Extracts a 7z archive. More...
 
class  TarBz2Extractor
 Extracts a BZip2-compressed TAR archive. More...
 
class  TarBz2Generator
 Creates a BZip2-compressed TAR archive from a directory. Preserves executable bits, symlinks, hardlinks and timestamps. More...
 
class  TarExtractor
 Extracts a TAR archive. More...
 
class  TarGenerator
 Creates a TAR archive from a directory. Preserves executable bits, symlinks, hardlinks and timestamps. More...
 
class  TarGzExtractor
 Extracts a GZip-compressed TAR archive. More...
 
class  TarGzGenerator
 Creates a GZip-compressed TAR archive from a directory. Preserves executable bits, symlinks, hardlinks and timestamps. More...
 
class  TarLzipExtractor
 Extracts a Lzip-compressed TAR archive. More...
 
class  TarLzmaExtractor
 Extracts a LZMA-compressed TAR archive. More...
 
class  TarXzExtractor
 Extracts a XZ-compressed TAR archive. More...
 
class  TarZstandardExtractor
 Extracts a Zstandard-compressed TAR archive. More...
 
class  ZipExtractor
 Extracts a ZIP archive. More...
 
class  ZipGenerator
 Creates a ZIP archive from a directory. Preserves executable bits, symlinks and timestamps. More...
 

Functions

sealed record ArchiveFileInfo (string Path, string MimeType)
 A parameter object containing information about a requested archive extraction. More...
 

Detailed Description

Logic for extracting and creating various kinds of archives.

Function Documentation

◆ ArchiveFileInfo()

sealed record ZeroInstall.Store.Implementations.Archives.ArchiveFileInfo ( string  Path,
string  MimeType 
)

A parameter object containing information about a requested archive extraction.

IImplementationStore.AddArchives

The name of the subdirectory in the archive to extract (with Unix-style slashes); null to extract entire archive.

The subdirectory within the implementation directory to extract this archive to; null for none.

The number of bytes at the beginning of the file which should be ignored.

The URL the file was originally downloaded from.

This is used to provide additional information in case of an exception.