ZlibCompressor.setFileInfo

Sets file_info in compressor. If non-null, and compressor's #GZlibCompressor:format property is gio.types.ZlibCompressorFormat.Gzip, it will be used to set the file name and modification time in the GZIP header of the compressed data.

Note: it is an error to call this function while a compression is in progress; it may only be called immediately after creation of compressor, or after resetting it with gio.converter.Converter.reset.

class ZlibCompressor
void
setFileInfo

Parameters

fileInfo gio.file_info.FileInfo

a #GFileInfo