C# Class AA2Install.Archives._7z

Afficher le fichier Open project: aa2g/AA2Install

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
SyncCompress ( string filename, string workingdir, string directory ) : void
SyncExtract ( string filename, string wildcard, string dest = "" ) : void

Method Details

Compress() public static méthode

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.
Résultat void

Extract() public static méthode

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.
Résultat void

Extract() public static méthode

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
Résultat void

Index() public static méthode

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.
Résultat Mod