Lines Matching defs:strip
115 * The $strip parameter allows you to strip a certain number of path components from the filenames
116 * found in the tar file, similar to the --strip-components feature of GNU tar. This is triggered when
117 * an integer is passed as $strip.
118 * Alternatively a fixed string prefix may be passed in $strip. If the filename matches this prefix,
128 * @param int|string $strip either the number of path components or a fixed prefix to strip
134 public function extract($outdir, $strip = '', $exclude = '', $include = '')
158 // apply strip rules
159 $fileinfo->strip($strip);
421 $data = substr($data, 2, -4); // strip compression headers
694 $extra['utf8comment'] = substr($extra[0x7075], 5); // strip version and crc
697 $extra['utf8path'] = substr($extra[0x7075], 5); // strip version and crc