src/Tar.php
protected function writeFileHeader(FileInfo $fileinfo)
    {
        $this->writeRawFileHeader(
            $fileinfo->getPath(),
            $fileinfo->getUid(),
            $fileinfo->getGid(),
            $fileinfo->getMode(),
            $fileinfo->getSize(),
            $fileinfo->getMtime(),
            $fileinfo->getIsdir() ? '5' : '0'
        );
    }
protected function writeFileHeader(FileInfo $fileinfo)
    {
        $this->writeRawFileHeader(
            $fileinfo->getPath(),
            $fileinfo->getUid(),
            $fileinfo->getGid(),
            $fileinfo->getMode(),
            $fileinfo->getSize(),
            $fileinfo->getMtime(),
            $fileinfo->getIsdir() ? '5' : '0'
        );
    }
protected function writeFileHeader ( FileInfo $ fileinfo ) { $ this -> writeRawFileHeader ( $ fileinfo -> getPath ( ) , $ fileinfo -> getUid ( ) , $ fileinfo -> getGid ( ) , $ fileinfo -> getMode ( ) , $ fileinfo -> getSize ( ) , $ fileinfo -> getMtime ( ) , $ fileinfo -> getIsdir ( ) ? '5' : '0' ) ; }
Write the given file meta data as header

@param FileInfo $fileinfo
@throws ArchiveIOException
Write the given file meta data as header