Skip to content

Commit

Permalink
fix(bita): do not ignore buzhash as hash argument
Browse files Browse the repository at this point in the history
  • Loading branch information
oll3 committed Jan 12, 2022
1 parent 58c7796 commit 2dbeb23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn parse_chunker_config(matches: &clap::ArgMatches<'_>) -> Result<chunker::Confi
) {
(Some(fixed_size), _) => chunker::Config::FixedSize(parse_size(fixed_size)?),
(_, "rollsum") => chunker::Config::RollSum(parse_hash_chunker_config(matches, "64B")?),
(_, "buzhash") => chunker::Config::RollSum(parse_hash_chunker_config(matches, "16B")?),
(_, "buzhash") => chunker::Config::BuzHash(parse_hash_chunker_config(matches, "16B")?),
_ => unreachable!(),
},
)
Expand Down

0 comments on commit 2dbeb23

Please sign in to comment.