diff --git a/src/commands.rs b/src/commands.rs index c38dc9a..0567311 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -327,7 +327,7 @@ fn compress_files(files: Vec, formats: Vec, output_file: fs: // // File at input_file_path is opened for reading, example: "archive.tar.gz" // formats contains each format necessary for decompression, example: [Gz, Tar] (in decompression order) -// output_dir it's where the file will be decompressed to +// output_dir it's where the file will be decompressed to, this function assumes that the directory exists // output_file_path is only used when extracting single file formats, not archive formats like .tar or .zip fn decompress_file( input_file_path: &Path,