Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: splitbrain/php-archive
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: yield
Choose a base ref
...
head repository: splitbrain/php-archive
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 11 commits
  • 5 files changed
  • 3 contributors

Commits on Mar 16, 2023

  1. added funding info

    splitbrain committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    460c205 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2024

  1. Tar: add support for large and negative numbers

    In 2001 the GNU tar introduced support for large and negative numbers
    (https://www.gnu.org/software/tar/manual/html_node/Extensions.html#Extensions)
    
    This is required to handle files bigger than 8G.
    zozlak committed Dec 6, 2024
    Configuration menu
    Copy the full SHA
    3e51582 View commit details
    Browse the repository at this point in the history
  2. Tar: allow reading archive content while iterating over archive entries.

    So far there was no way to read the data from a file in an archive
    without extracting it and extraction of a single file required rereading
    of a whole archive. This commit changes the yieldContents() in a way it
    does not skip to the next header entry before returning a current header
    content. A position of the next header entry is remembered instead and
    rewinded to only at the next next() call on the generator. This allows
    to read the current entry content until the next() call. For that the
    Tar::readCurrentEntry() method was added.
    zozlak committed Dec 6, 2024
    Configuration menu
    Copy the full SHA
    6136d0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f931cad View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2024

  1. Configuration menu
    Copy the full SHA
    f15ef3a View commit details
    Browse the repository at this point in the history
  2. Tar: write performance optimizations

    Tar::addData(): pad only the last block of data and write everything
    else with just a single writebytes() call and without pack().
    
    Tar::addFile(): move the read chunk size to a class constant.
    zozlak committed Dec 7, 2024
    Configuration menu
    Copy the full SHA
    5ff390c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b1936c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2024

  1. Merge pull request #37 from zozlak/master

    A bunch of enhancements for dealing with large tar archives
    splitbrain authored Dec 9, 2024
    Configuration menu
    Copy the full SHA
    d9d4eaa View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2025

  1. Configuration menu
    Copy the full SHA
    b8740f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. Merge pull request #38 from Mobiel-Bekeken/master

    bugfix modification time is incorrect
    splitbrain authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    45c4569 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e45d0d9 View commit details
    Browse the repository at this point in the history
Loading