<commit_before><?php
declare(strict_types=1);

namespace ZipStream\Option;

final class Archive
{
    const DEFAULT_DEFLATE_LEVEL = 6;
    /**
     * @var string
     */
    private $comment = '';
    /**
     * Size, in bytes, of the largest file to try
     * and load into memory (used by
     * addFileFromPath()).  Large files may also
     * be compressed differently; see the
     * 'largeFileMethod' option. Default is ~20 Mb.
     *
     * @var int
     */
    private $largeFileSize = 20 * 1024 * 1024;
    /**
     * How to handle large files.  Legal values are
     * ZipStream::METHOD_STORE (the default), or
     * ZipStream::METHOD_DEFLATE. Store sends the file
     * raw and is significantly
     * faster, while ZipStream::METHOD_DEFLATE compresses the file
     * and is much, much slower. Note that deflate
     * must compress the file twice and extremely slow.
     *
     * @var Method
     */
    private $largeFileMethod;
    /**
     * Boolean indicating whether or not to send
     * the HTTP headers for this file.
     *
     * @var bool
     */
    private $sendHttpHeaders = false;
    /**
     * The method called to send headers
     *
     * @var Callable
     */
    private $httpHeaderCallback = 'header';
    /**
     * Enable Zip64 extension, supporting very large
     * archives (any size > 4 GB or file count > 64k)
     *
     * @var bool
     */
    private $enableZip64 = true;
    /**
     * Enable streaming files with single read where
     * general purpose bit 3 indicates local file header
     * contain zero values in crc and size fields,
     * these appear only after file contents
     * in data descriptor block.
     *<commit_msg>Fix the comment for the compression method for large files. (#96)<commit_after><?php
declare(strict_types=1);

namespace ZipStream\Option;

final class Archive
{
    const DEFAULT_DEFLATE_LEVEL = 6;
    /**
     * @var string
     */
    private $comment = '';
    /**
     * Size, in bytes, of the largest file to try
     * and load into memory (used by
     * addFileFromPath()).  Large files may also
     * be compressed differently; see the
     * 'largeFileMethod' option. Default is ~20 Mb.
     *
     * @var int
     */
    private $largeFileSize = 20 * 1024 * 1024;
    /**
     * How to handle large files.  Legal values are
     * Method::STORE() (the default), or
     * Method::DEFLATE(). STORE sends the file
     * raw and is significantly
     * faster, while DEFLATE compresses the file
     * and is much, much slower. Note that DEFLATE
     * must compress the file twice and is extremely slow.
     *
     * @var Method
     */
    private $largeFileMethod;
    /**
     * Boolean indicating whether or not to send
     * the HTTP headers for this file.
     *
     * @var bool
     */
    private $sendHttpHeaders = false;
    /**
     * The method called to send headers
     *
     * @var Callable
     */
    private $httpHeaderCallback = 'header';
    /**
     * Enable Zip64 extension, supporting very large
     * archives (any size > 4 GB or file count > 64k)
     *
     * @var bool
     */
    private $enableZip64 = true;
    /**
     * Enable streaming files with single read where
     * general purpose bit 3 indicates local file header
     * contain zero values in crc and size fields,
     * these appear only after file contents
     * in data descriptor block.
     *
{'fraction_non_alphanumeric': 0.0877761413843888, 'fraction_numerical': 0.013549337260677467, 'mean_word_length': 2.2128666035950806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2605955', 'n_tokens_mistral': 995, 'n_tokens_neox': 937, 'n_words': 373}