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