question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[API] Add an API for zipping/unzipping

See original GitHub issue

Currently, there’s an API for reading from and writing into ZIP files but it would be great to have an API for unzipping an archive and zipping a folder. The current API is here: https://www.dirigible.io/api/io/zip/

I suppose having the following API would be a good addition:


function unzip(zipPath: string, folderOutputPath: string): void;
function zip(folderPath: string, zipOutputPath: string): void;

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
vmutafovcommented, Jan 24, 2022

Yes, it should be in the current ZIP API. Btw, we actually already need it for one of the tasks in XSK. 😀 @ivanvolkoff will probably work on this task if there is nothing else urgent

1reaction
vmutafovcommented, Jan 26, 2022

The Repository ZIP Importer/Exporter could probably be reused in the ZipFacade for this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unzip API. The API for extracting ZIP archives - ConvertAPI
The API for extracting ZIP archives. Simple integration to any Web or Desktop Application, perfect conversion quality, fast and secure.
Read more >
How to consume, read and unzip a third party API response in ...
This api returns a zip file as "all.zip" as response. When I go to browser and make this request I get a all.zip...
Read more >
ZIP API in Java - GeeksforGeeks
Java provides a rich API to zip and unzip the files. By using ZIP API in java we can zip and unzip into...
Read more >
How do I unzip a file when pulling it from REST API?
Solved: So the rest API that I set up in Splunk will go out to this rest endpoint and the file that it...
Read more >
REST API for Documents - Extract ZIP File into a Folder
The REST API for Documents enables you to interact with folders and files stored in Oracle Content ... Requests that a ZIP file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found