ae.sys.archive

ae.sys.archive

Members

Functions

un7z
void un7z(string archive, string target)

Unpacks a file with 7-Zip to the specified directory, installing it locally if necessary.

unpack
void unpack(string archive, string target)

Unpacks an archive to the specified directory. Uses std.zip for .zip files, and invokes tar (if available) or 7-Zip (installing it locally if necessary) for other file types. Always unpacks compressed tar archives in one go.

unzip
void unzip(string zip, string target)

Unzips a .zip file to the target directory.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>