Gio.FileInputStream::query_info

function vfunc_query_info(attributes: String, cancellable: Gio.Cancellable): Gio.FileInfo {
}
  

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.FileInputStream.prototype.query_info_async. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will fail with Gio.IOErrorEnum.pending.

attributes

a file attribute query string.

cancellable

optional Gio.Cancellable object, null to ignore.

Returns

a Gio.FileInfo, or null on error.