浏览代码

(strip_path_elements): New variable.

Sergey Poznyakoff 21 年之前
父节点
当前提交
d93cbfbf0b
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;