Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for loading compressed dumps via loadDataDir that are not marked as compressed #498

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

samwillis
Copy link
Collaborator

Fixes #402

Logic now:

  • if it looks like a gzip from mine type or filename, unzip it
  • then try and untar
  • if there is an error, try and unzip then untar

Copy link
Contributor

@samwillis samwillis changed the title feat: add support for loading compressed dumps via loadDataDir that are not feat: add support for loading compressed dumps via loadDataDir that are not marked as compressed Jan 20, 2025
@samwillis samwillis merged commit 67fb2aa into main Jan 20, 2025
7 checks passed
@samwillis samwillis deleted the samwillis/loadDataDir-mime-fallback branch January 20, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

loadDataDir option throws error for gzip file
2 participants