Skip to content

Commit

Permalink
add support for .snagx zip archives
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Jun 22, 2024
1 parent 3170b34 commit 9cf74ae
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 9cf74ae

Please sign in to comment.