deltas: Remove support for gzipped delta parts

XZ is really, really good.
This commit is contained in:
Colin Walters 2015-01-28 17:24:11 -05:00
parent 92cc3b5968
commit 3c2a36eab0
2 changed files with 1 additions and 11 deletions

View File

@ -32,7 +32,7 @@ G_BEGIN_DECLS
/**
* OSTREE_STATIC_DELTA_PART_PAYLOAD_FORMAT:
*
* y compression type (0: none, 'z': zlib)
* y compression type (0: none, 'x': lzma)
* ---
* ay data source
* ay operations

View File

@ -318,16 +318,6 @@ _ostree_static_delta_part_execute (OstreeRepo *repo,
/* No compression */
payload_data = g_bytes_ref (part_payload_bytes);
break;
case 'g':
{
gs_unref_object GConverter *decomp =
(GConverter*) g_zlib_decompressor_new (G_ZLIB_COMPRESSOR_FORMAT_RAW);
if (!decompress_all (decomp, part_payload_bytes, &payload_data,
cancellable, error))
goto out;
}
break;
case 'x':
{
gs_unref_object GConverter *decomp =