deltas: Remove support for gzipped delta parts
XZ is really, really good.
This commit is contained in:
parent
92cc3b5968
commit
3c2a36eab0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in New Issue