Sfoglia il codice sorgente

(strip_path_elements): New variable.

Sergey Poznyakoff 21 anni fa
parent
commit
d93cbfbf0b
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/common.h

+ 4 - 0
src/common.h

@@ -230,6 +230,10 @@ GLOBAL int same_owner_option;
 /* If positive, preserve permissions when extracting.  */
 GLOBAL int same_permissions_option;
 
+/* When set, strip the given number of path elements from the file name
+   before extracting */
+GLOBAL size_t strip_path_elements;
+
 GLOBAL bool show_omitted_dirs_option;
 
 GLOBAL bool sparse_option;