FileInputStream.queryInfo

gio.file_info.FileInfo queryInfo(string attributes, gio.cancellable.Cancellable cancellable = null)

Queries a file input stream the given attributes. This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see gio.file_input_stream.FileInputStream.queryInfoAsync. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will fail with gio.types.IOErrorEnum.Pending.

Parameters

attributesa file attribute query string.
cancellableoptional #GCancellable object, null to ignore.

Returns

a #GFileInfo, or null on error.

Throws