Skip to content

Commit

Permalink
Merge pull request #234 from Hacksore/feat/support-snagx
Browse files Browse the repository at this point in the history
add support for .snagx zip archives
  • Loading branch information
phiresky authored Jun 24, 2024
2 parents 3170b34 + 9cf74ae commit e207c12
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/adapters/zip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use async_stream::stream;
use lazy_static::lazy_static;
use log::*;

static EXTENSIONS: &[&str] = &["zip", "jar", "xpi", "kra"];
// TODO: allow users to configure file extensions instead of hard coding the list
// https://github.com/phiresky/ripgrep-all/pull/208#issuecomment-2173241243
static EXTENSIONS: &[&str] = &["zip", "jar", "xpi", "kra", "snagx"];

lazy_static! {
static ref METADATA: AdapterMeta = AdapterMeta {
Expand Down

0 comments on commit e207c12

Please sign in to comment.