From a15168a6bea4614b5c10f9c64ec9de5175d1827e Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Thu, 24 Nov 2022 21:51:49 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Added=20JSDoc=20to=20extractComi?= =?UTF-8?q?cArchive=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/actions/fileops.actions.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/actions/fileops.actions.tsx b/src/client/actions/fileops.actions.tsx index d5b1404..dded2b7 100644 --- a/src/client/actions/fileops.actions.tsx +++ b/src/client/actions/fileops.actions.tsx @@ -253,7 +253,13 @@ export const fetchComicVineMatches = }); }; -export const extractComicArchive = (path: string) => async (dispatch) => { +/** + * This method is a proxy to `uncompressFullArchive` which uncompresses complete `rar` or `zip` archives + * @param {string} path The path to the compressed archive + * @param {any} options Options object + * @returns {any} + */ +export const extractComicArchive = (path: string, options: any) => async (dispatch) => { const comicBookPages: string[] = []; dispatch({ type: IMS_COMIC_BOOK_ARCHIVE_EXTRACTION_CALL_IN_PROGRESS,