Instead of returning a Vec<String> that represents all error messages thrown during execution, now return UnusedFinderReport
UnusedFinderReport::unused_files a vec of files marked as unused, this list is already sanitized and does not contain non-scanned files or files that match any patter in .unusedignore file.
UnusedFinderReport::unused_files_items hashmap with key: file path and value: items within file that are not imported.
Created
UnusedFinderReport
struct:Vec<String>
that represents all error messages thrown during execution, now returnUnusedFinderReport
UnusedFinderReport::unused_files
a vec of files marked as unused, this list is already sanitized and does not contain non-scanned files or files that match any patter in.unusedignore
file.UnusedFinderReport::unused_files_items
hashmap with key: file path and value: items within file that are not imported.