C# Class oipckmngr.Compression

Show file Open project: continuoustests/OpenIDE Class Usage Examples

Public Methods

Method Description
Compress ( string directory, string command, string destination ) : void
Decompress ( string directory, string archiveFile ) : void

Private Methods

Method Description
addDirectory ( TarArchive tarArchive, string directory ) : void
addFile ( TarArchive tarArchive, string filename ) : void
createDirectories ( string path ) : void
run ( string directory, string command, string arguments ) : void
toRelative ( string file, string basepath ) : string

Method Details

Compress() public static method

public static Compress ( string directory, string command, string destination ) : void
directory string
command string
destination string
return void

Decompress() public static method

public static Decompress ( string directory, string archiveFile ) : void
directory string
archiveFile string
return void