protected function _setCurrentPath($path)
    {
        if ($this->_skipRoot && is_dir($path)) {
            $this->_currentPath = $path.(substr($path, -1)!=DS?DS:'');
        } else {
            $this->_currentPath = dirname($path) . DS;
        }
        return $this;
    }
protected function _setCurrentPath($path)
    {
        if ($this->_skipRoot && is_dir($path)) {
            $this->_currentPath = $path.(substr($path, -1)!=DS?DS:'');
        } else {
            $this->_currentPath = dirname($path) . DS;
        }
        return $this;
    }
protected function _setCurrentPath ( $ path ) { if ( $ this -> _skipRoot && is_dir ( $ path ) ) { $ this -> _currentPath = $ path . ( substr ( $ path , - 1 ) != DS ? DS : '' ) ; } else { $ this -> _currentPath = dirname ( $ path ) . DS ; } return $ this ; }
Set path to file which is packing.

@param string $path
@return Mage_Archive_Tar
Set path to file which is packing .