commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject commons-compress git commit: COMPRESS-271 test files for lz4
Date Tue, 10 Jan 2017 17:50:32 GMT
Repository: commons-compress
Updated Branches:
  refs/heads/master 00fcf5462 -> 6a7a99ed2


COMPRESS-271 test files for lz4

bla.tar.block_lz4 uses the "block" format and has been created with

https://github.com/gray/compress-lz4

and

```
use Compress::LZ4;

open(my $in, '<:raw', 'bla.tar') or die "Unable to open: $!";
my $bytes = do { local $/; <$in> };
close($in);
my $compressed = compress($bytes);
open(my $out, '>:raw', 'bla.tar.block_lz4') or die "Unable to open: $!";
syswrite $out, $compressed, length($compressed) - 4, 4;
close($out);
```

bla.tar.lz4 the "frame" format and has been created with the lz4 CLI tool.


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/6a7a99ed
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/6a7a99ed
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/6a7a99ed

Branch: refs/heads/master
Commit: 6a7a99ed2da6d2d654afddfcb16c899a561ba0db
Parents: 00fcf54
Author: Stefan Bodewig <bodewig@apache.org>
Authored: Tue Jan 10 18:48:01 2017 +0100
Committer: Stefan Bodewig <bodewig@apache.org>
Committed: Tue Jan 10 18:48:01 2017 +0100

----------------------------------------------------------------------
 src/test/resources/bla.tar.block_lz4 | Bin 0 -> 604 bytes
 src/test/resources/bla.tar.lz4       | Bin 0 -> 623 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6a7a99ed/src/test/resources/bla.tar.block_lz4
----------------------------------------------------------------------
diff --git a/src/test/resources/bla.tar.block_lz4 b/src/test/resources/bla.tar.block_lz4
new file mode 100644
index 0000000..1ceb997
Binary files /dev/null and b/src/test/resources/bla.tar.block_lz4 differ

http://git-wip-us.apache.org/repos/asf/commons-compress/blob/6a7a99ed/src/test/resources/bla.tar.lz4
----------------------------------------------------------------------
diff --git a/src/test/resources/bla.tar.lz4 b/src/test/resources/bla.tar.lz4
new file mode 100644
index 0000000..cbf57fa
Binary files /dev/null and b/src/test/resources/bla.tar.lz4 differ


Mime
View raw message