Closed ewilan-riviere closed 6 months ago
Read partial archive is not ready yet, from https://github.com/kiwilan/php-archive/issues/42
Publish for https://github.com/kiwilan/php-archive/issues/46
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.90%. Comparing base (
464f6b4
) to head (7114592
). Report is 3 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
read(string $path, ?string $password = null)
andreadFromString(string $contents, ?string $password = null, ?string $extension = null)
methods.Archive::class
methodreadFromString(string $contents, ?string $password = null, ?string $extension = null)
to read an archive from a stringp7zip
binary, you can set manually the path to the binary usingoverrideBinaryPath(string $path)
method.getFiles()
method is now deprecated. UsegetFileItems()
instead.getFileItem(string $path)
to get a single file item.