C# Класс AA2Install.Archives._7z

Показать файл Открыть проект

Открытые методы

Метод Описание
Compress ( string filename, string workingdir, string directory ) : void

Compresses a specified list of files into a 7z archive.

Extract ( string filename, string dest = "" ) : void

Extracts a 7Zip archive to the temp folder

Extract ( string filename, string wildcard, string dest = "" ) : void

Extracts a 7Zip archive to the temp folder (using wildcard)

Index ( string filename, bool miscFiles = false ) : Mod

Creates a mod index from a 7Zip file

Приватные методы

Метод Описание
SyncCompress ( string filename, string workingdir, string directory ) : void
SyncExtract ( string filename, string wildcard, string dest = "" ) : void

Описание методов

Compress() публичный статический метод

Compresses a specified list of files into a 7z archive.
public static Compress ( string filename, string workingdir, string directory ) : void
filename string Location to save the 7Z file.
workingdir string Working directory of 7za.exe.
directory string Files to compress into the archive.
Результат void

Extract() публичный статический метод

Extracts a 7Zip archive to the temp folder
public static Extract ( string filename, string dest = "" ) : void
filename string Location of the 7Zip file.
dest string Destination of extracted files.
Результат void

Extract() публичный статический метод

Extracts a 7Zip archive to the temp folder (using wildcard)
public static Extract ( string filename, string wildcard, string dest = "" ) : void
filename string Location of the 7Zip file.
wildcard string Wildcard.
dest string
Результат void

Index() публичный статический метод

Creates a mod index from a 7Zip file
public static Index ( string filename, bool miscFiles = false ) : Mod
filename string Location of the 7Zip file.
miscFiles bool Whether or not to include files that aren't related to mod installation. Default is false.
Результат Mod