mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-03 10:00:19 +00:00
tweak: replace '.tmp-ouch-' prefix with 'tmp-ouch-' for smart unpack (#788)
This commit is contained in:
parent
c6cbf6e157
commit
c584170a24
@ -35,7 +35,7 @@ Categories Used:
|
||||
### Tweaks
|
||||
|
||||
- CI refactor [\#578](https://github.com/ouch-org/ouch/pull/578) ([cyqsimon](https://github.com/cyqsimon))
|
||||
- Use a more unique name for temporary decompression path [\#725](https://github.com/ouch-org/ouch/pull/725) ([valoq](https://github.com/valoq))
|
||||
- Use a prefix `tmp-ouch-` for temporary decompression path name to avoid conflicts [\#725](https://github.com/ouch-org/ouch/pull/725) ([valoq](https://github.com/valoq)) & [\#788](https://github.com/ouch-org/ouch/pull/788) ([talis-fb](https://github.com/talis-fb))
|
||||
- Run clippy for tests too [\#738](https://github.com/ouch-org/ouch/pull/738) ([marcospb19](https://github.com/marcospb19))
|
||||
|
||||
### Improvements
|
||||
|
@ -346,7 +346,7 @@ fn smart_unpack(
|
||||
question_policy: QuestionPolicy,
|
||||
) -> crate::Result<ControlFlow<(), usize>> {
|
||||
assert!(output_dir.exists());
|
||||
let temp_dir = tempfile::Builder::new().prefix(".tmp-ouch-").tempdir_in(output_dir)?;
|
||||
let temp_dir = tempfile::Builder::new().prefix("tmp-ouch-").tempdir_in(output_dir)?;
|
||||
let temp_dir_path = temp_dir.path();
|
||||
|
||||
info_accessible(format!(
|
||||
|
Loading…
x
Reference in New Issue
Block a user