Skip to content

Usage of ZipSource #1757

Jun 9, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @vivektk84,

Internally we use the C# class System.IO.Compression.ZipFile to extract the file and this class is not able to read tar/rar/.tgz formats. Therefore we have to change the ZipSource class to make this possible (actually the internal class ZipCacher). At first sight it does not look very hard to accomplish that.

So, we will discuss this in our team and see if we can put this in our SDK.

You can also create a TarSource class (for example) yourself that implements the IAsyncResourceResolver or IResourceResolver interface. For inspiration you can have a look at this source code of ZipSource.cs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vivektk84
Comment options

@marcovisserFurore
Comment options

@vivektk84
Comment options

Answer selected by vivektk84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants