src/FS/File/Arc/Tar.php
public function addFolder( $dirName )
	{
		if( !file_exists( $dirName ) )
			return FALSE;
		$fileInfo = stat( $dirName );													// Get folder information
		$this->numFolders++;															// Add folder to processed data
		$activeDir				= &$this->folders[];
		$activeDir['name']		= $dirName;
		$activeDir['mode']		= $fileInfo['mode'];
		$activeDir['time']		= $fileInfo['mtime'];
		$activeDir['user_id']	= $fileInfo['uid'];
		$activeDir['group_id']	= $fileInfo['gid'];
#		$activeDir['checksum']	= $checksum;
		return TRUE;
	}
public function addFolder( $dirName )
	{
		if( !file_exists( $dirName ) )
			return FALSE;
		$fileInfo = stat( $dirName );													// Get folder information
		$this->numFolders++;															// Add folder to processed data
		$activeDir				= &$this->folders[];
		$activeDir['name']		= $dirName;
		$activeDir['mode']		= $fileInfo['mode'];
		$activeDir['time']		= $fileInfo['mtime'];
		$activeDir['user_id']	= $fileInfo['uid'];
		$activeDir['group_id']	= $fileInfo['gid'];
#		$activeDir['checksum']	= $checksum;
		return TRUE;
	}
public function addFolder ( $ dirName ) { if ( ! file_exists ( $ dirName ) ) return FALSE ; $ fileInfo = stat ( $ dirName ) ; // Get folder information
 $ this -> numFolders ++ ; // Add folder to processed data
 $ activeDir = & $ this -> folders [ ] ; $ activeDir [ 'name' ] = $ dirName ; $ activeDir [ 'mode' ] = $ fileInfo [ 'mode' ] ; $ activeDir [ 'time' ] = $ fileInfo [ 'mtime' ] ; $ activeDir [ 'user_id' ] = $ fileInfo [ 'uid' ] ; $ activeDir [ 'group_id' ] = $ fileInfo [ 'gid' ] ; #		$activeDir['checksum']	= $checksum;
 return TRUE ; }
Adds a Folder to this TAR Archive.
@access		public
@param		string		$dirName			Path of Folder to add
@return		bool
Adds a Folder to this TAR Archive .