Blame platform-overview/C/tech-gio.page

Packit 1470ea
Packit 1470ea
      xmlns:its="http://www.w3.org/2005/11/its"
Packit 1470ea
      type="topic"
Packit 1470ea
      id="tech-gio">
Packit 1470ea
Packit 1470ea
  <info>
Packit 1470ea
    <link type="guide" xref="tech" group="gio"/>
Packit 1470ea
    <revision pkgversion="3.0" date="2011-04-05" status="review"/>
Packit 1470ea
Packit 1470ea
    <credit type="author copyright">
Packit 1470ea
      <name>Shaun McCance</name>
Packit 1470ea
      <email its:translate="no">shaunm@gnome.org</email>
Packit 1470ea
      <years>2011</years>
Packit 1470ea
    </credit>
Packit 1470ea
    <credit type="copyright editor">
Packit 1470ea
      <name>Federico Mena Quintero</name>
Packit 1470ea
      <email its:translate="no">federico@gnome.org</email>
Packit 1470ea
      <years>2013</years>
Packit 1470ea
    </credit>
Packit 1470ea
Packit 1470ea
    <include href="cc-by-sa-3-0.xml" xmlns="http://www.w3.org/2001/XInclude"/>
Packit 1470ea
Packit 1470ea
    <desc>File and URI handling, asynchronous file operations, volume
Packit 1470ea
    handling</desc>
Packit 1470ea
  </info>
Packit 1470ea
Packit 1470ea
<title>GIO Files</title>
Packit 1470ea
Packit 1470ea

GIO provides APIs for asynchronously reading and writing files and

Packit 1470ea
other streams. Files are referenced by URIs (uniform resource locators), and backends can
Packit 1470ea
provide access to more than just local files. When running under the
Packit 1470ea
GNOME desktop, GIO uses GVFS to allow access to files over SFTP, FTP,
Packit 1470ea
WebDAV, SMB, and other popular protocols. This transparent network
Packit 1470ea
file access is free to all applications using GIO.

Packit 1470ea
Packit 1470ea

The GIO file APIs were designed to be used in event-driven graphical

Packit 1470ea
interfaces. The non-blocking, asynchronous design means your user interface
Packit 1470ea
doesn't hang while waiting for a file. There are also synchronous versions
Packit 1470ea
of the APIs available, which are sometimes more convenient for worker
Packit 1470ea
threads or processes.

Packit 1470ea
Packit 1470ea

GIO also provides routines for managing drives and volumes, querying

Packit 1470ea
file types and icons, and finding applications to open files.

Packit 1470ea
Packit 1470ea
<list style="compact">
Packit 1470ea
  <item>

<link href="http://developer.gnome.org/gio/stable/">GIO Reference Manual</link>

</item>
Packit 1470ea
</list>
Packit 1470ea
Packit 1470ea
</page>