Gio.ZlibDecompressor.prototype.get_file_info

function get_file_info(): Gio.FileInfo {
    // Gjs wrapper for g_zlib_decompressor_get_file_info()
}
  

Retrieves the Gio.FileInfo constructed from the GZIP header data of compressed data processed by @compressor, or null if decompressor's Gio.ZlibDecompressor.format property is not Gio.ZlibCompressorFormat.gzip, or the header data was not fully processed yet, or it not present in the data stream at all.

Since 2.26

Returns

a Gio.FileInfo, or null