Swift library wraps unrar C++ library provided by rarlib.
import Unrar
let archive = try Archive(filePath: "/path/to/archive.rar")
let comment = try archive.comment()
let entries = try archive.entries()
let extractedData = try archive.extract(entries[0])
Add https://github.com/mtgto/Unrar.swift
to your Package.swift.
Swift parts of this software is released under the MIT License, see LICENSE.txt.
C++ library has different license. See Sources/Cunrar/readme.txt.
link |
Stars: 26 |
Last commit: 2 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics