Skip to content
  • Rob Swindell's avatar
    67d6cf3c
    Fix issue with DIZ extraction creating subdirs in temp · 67d6cf3c
    Rob Swindell authored
    For archives with directories, the first call to extract_files_from_archive() from extract_diz() would create sub-directories in the target (temp) directory, but no files within them.
    
    To correctly solve the original problem identified in commit 79a302f4, introduce/use a new 'recurse' argument to extract_files_from_archive() which means to recursively apply the file_list filter (if specified). Always pass 'with_path' argument as false to prevent sub-dir creation.
    
    The JS Archive.extract() method now excepts an additional boolean argument (recurse) following the file list arguments, default is false.
    
    Remove extra whitespace in Archive JSDOC method descriptions to be consistent with other object/class docs.
    67d6cf3c
    Fix issue with DIZ extraction creating subdirs in temp
    Rob Swindell authored
    For archives with directories, the first call to extract_files_from_archive() from extract_diz() would create sub-directories in the target (temp) directory, but no files within them.
    
    To correctly solve the original problem identified in commit 79a302f4, introduce/use a new 'recurse' argument to extract_files_from_archive() which means to recursively apply the file_list filter (if specified). Always pass 'with_path' argument as false to prevent sub-dir creation.
    
    The JS Archive.extract() method now excepts an additional boolean argument (recurse) following the file list arguments, default is false.
    
    Remove extra whitespace in Archive JSDOC method descriptions to be consistent with other object/class docs.
Loading