Explorar o código

(strip_path_elements): New variable.

Sergey Poznyakoff %!s(int64=22) %!d(string=hai) anos
pai
achega
d93cbfbf0b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;