-
Notifications
You must be signed in to change notification settings - Fork 74
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
joinp
: add snappy compression/decompression support
#1413
Conversation
also fix joinp cross so it supports --output option
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/cmd/joinp.rs:511:78 | 511 | util::decompress_snappy_file(&input1_path.to_path_buf(), &tmpdir)?; | ^^^^^^^ help: change this to: `tmpdir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/cmd/joinp.rs:536:78 | 536 | util::decompress_snappy_file(&input2_path.to_path_buf(), &tmpdir)?; | ^^^^^^^ help: change this to: `tmpdir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(&out_file); | ||
|
||
let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd2); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(&out_file); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
|
||
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(&out_file); | ||
|
||
let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd2); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(&out_file); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
|
||
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(out_file); | ||
|
||
let got: Vec<Vec<String>> = wrk.read_stdout(&mut cmd2); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); | ||
cmd2.arg("decompress").arg(out_file); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
|
||
wrk.assert_success(&mut cmd); | ||
|
||
let mut cmd2 = wrk.command("snappy"); |
Check failure
Code scanning / devskim
A weak or broken hash algorithm was detected.
No description provided.