zfile


Description:

[ Version ( deprecated = true , since = "1.0.59" ) ]
public string zfile (string meth, string path) throws Error

Warning: zfile is deprecated.

determine file type inside a compressed file

Note:

In new code, use file instead

This command runs file after first decompressing path using method.

method must be one of gzip, compress or bzip2.

Since 1.0.63, use file instead which can now process compressed files.

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error