tarkit icon indicating copy to clipboard operation
tarkit copied to clipboard

untar and tar files on iOS and OS X. Also supports gzip tars.

Results 10 tarkit issues
Sort by recently updated
recently updated
newest added

https://github.com/daltoniam/tarkit/blob/62d1c23eaf4cc222dffc5ff333ee83d68b590111/DCTar.m#L442 https://github.com/daltoniam/tarkit/blob/62d1c23eaf4cc222dffc5ff333ee83d68b590111/DCTar.m#L454-L459 https://github.com/daltoniam/tarkit/blob/62d1c23eaf4cc222dffc5ff333ee83d68b590111/DCTar.m#L507-L510 This causes runtime exceptions at least on iOS 12. There are several other places where `free` is called like this, the code snippet above is just an...

when call the method and give a error parameters will crash. like this: ``` Objective-C NSError *decompressError = nil; [DCTar decompressFileAtPath:strPath1 toPath:strPath2 error:&decompressError]; ``` you can try it.

There were 2 little problems with markup which caused warnings in Xcode 11.3. 1) Colon ':' after `@param` caused "Parameter ':' not found in the function declaration" warnings. 2) Parameter...

Untar implementation in current version not support ustar longlink, which causes long path file to fail when uncompressed This commit add 'L' type supported when uncompressing.

This line of code occurs that returns `YES` with `NSError` on `error`. It violates cocoa error handling convention. When we call this method from Swift with Objective-C interop, this invalid...

When block size is 0, calculation of `blockCount` cause underflow. This PR fix it. Please solve issue #14 before merge this PR. A commit `2bc2873150f624d6275132ae2ba37af561ea0c52` have some bugs. So If...

https://github.com/daltoniam/tarkit/blob/62d1c23eaf4cc222dffc5ff333ee83d68b590111/DCTar.m#L525-L529 Should have been: ``` [outputFileHandle writeData:[NSData dataWithBytes:buffer length:padding]]; ```

Although I agree that in general the file-based approach is better, especially when dealing with large archives, there are cases where it makes sense to do it in-memory (e.g. to...

I got two problem here. 1. decompress a tar.gz file without valid gzip format content, and there should get a `NO` as return value and an error. But I get...