FileInputStream.queryInfo

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.

class FileInputStream
queryInfo

Parameters

attributes string

a file attribute query string.

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore.

Return Value

Type: gio.file_info.FileInfo

a #GFileInfo, or null on error.