diff --git a/src/commands.rs b/src/commands.rs index 03f5aa7..dfb9bbb 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -519,6 +519,7 @@ fn list_archive_contents( /// Unpacks an archive with some heuristics /// - If the archive contains only one file, it will be extracted to the `output_dir` /// - If the archive contains multiple files, it will be extracted to a subdirectory of the output_dir named after the archive (given by `output_file_path`) +/// Note: This functions assumes that `output_dir` exists fn smart_unpack( unpack_fn: Box crate::Result>>, output_dir: &Path,