Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 039bdf88b242c7370523970a3a8bcd40 > files > 35

ghc-gio-devel-0.11.1-2.fc14.2.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>System.GIO.File.File</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_System-GIO-File-File.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>gio-0.11.1: Binding to the GIO.</TD
><TD CLASS="topbut"
><A HREF="src/System-GIO-File-File.html"
>Source code</A
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>System.GIO.File.File</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable (depends on GHC)</TD
></TR
><TR
><TD CLASS="infohead"
>Stability</TD
><TD CLASS="infoval"
>alpha</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>gtk2hs-devel@lists.sourceforge.net</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>Details
</A
></DT
><DT
><A HREF="#2"
>Types.
</A
></DT
><DT
><A HREF="#3"
>Enums
</A
></DT
><DT
><A HREF="#4"
>Methods
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3AFileProgressCallback"
>FileProgressCallback</A
> = <A HREF="System-GIO-Base.html#t%3AOffset"
>Offset</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AOffset"
>Offset</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3AFileReadMoreCallback"
>FileReadMoreCallback</A
> = <A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7/Data-ByteString.html#t%3AByteString"
>ByteString</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A HREF="#t%3AFileClass"
>FileClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>newtype</SPAN
>  <A HREF="#t%3AFile"
>File</A
>  = <A HREF="#v%3AFile"
>File</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-ForeignPtr.html#t%3AForeignPtr"
>ForeignPtr</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFileQueryInfoNone"
>FileQueryInfoNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileQueryInfoNofollowSymlinks"
>FileQueryInfoNofollowSymlinks</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFileCreateFlags"
>FileCreateFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFileCreateNone"
>FileCreateNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCreatePrivate"
>FileCreatePrivate</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCreateReplaceDestination"
>FileCreateReplaceDestination</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFileCopyFlags"
>FileCopyFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFileCopyNone"
>FileCopyNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyOverwrite"
>FileCopyOverwrite</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyBackup"
>FileCopyBackup</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyNofollowSymlinks"
>FileCopyNofollowSymlinks</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyAllMetadata"
>FileCopyAllMetadata</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyNoFallbackForMove"
>FileCopyNoFallbackForMove</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileCopyTargetDefaultPerms"
>FileCopyTargetDefaultPerms</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFileMonitorFlags"
>FileMonitorFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFileMonitorNone"
>FileMonitorNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileMonitorWatchMounts"
>FileMonitorWatchMounts</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileMonitorSendMoved"
>FileMonitorSendMoved</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFilesystemPreviewTypeIfAlways"
>FilesystemPreviewTypeIfAlways</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFilesystemPreviewTypeIfLocal"
>FilesystemPreviewTypeIfLocal</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFilesystemPreviewTypeNever"
>FilesystemPreviewTypeNever</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AFileType"
>FileType</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AFileTypeUnknown"
>FileTypeUnknown</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeRegular"
>FileTypeRegular</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeDirectory"
>FileTypeDirectory</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeSymbolicLink"
>FileTypeSymbolicLink</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeSpecial"
>FileTypeSpecial</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeShortcut"
>FileTypeShortcut</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AFileTypeMountable"
>FileTypeMountable</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFromPath"
>fileFromPath</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFromURI"
>fileFromURI</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFromCommandlineArg"
>fileFromCommandlineArg</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFromParseName"
>fileFromParseName</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileEqual"
>fileEqual</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileBasename"
>fileBasename</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfilePath"
>filePath</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileHasParent"
>fileHasParent</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileURI"
>fileURI</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileParseName"
>fileParseName</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileGetChild"
>fileGetChild</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileGetChildForDisplayName"
>fileGetChildForDisplayName</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileHasPrefix"
>fileHasPrefix</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileGetRelativePath"
>fileGetRelativePath</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileResolveRelativePath"
>fileResolveRelativePath</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileIsNative"
>fileIsNative</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileHasURIScheme"
>fileHasURIScheme</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileURIScheme"
>fileURIScheme</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileRead"
>fileRead</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileReadAsync"
>fileReadAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileReadFinish"
>fileReadFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileAppendTo"
>fileAppendTo</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCreate"
>fileCreate</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileReplace"
>fileReplace</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileAppendToAsync"
>fileAppendToAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileAppendToFinish"
>fileAppendToFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCreateAsync"
>fileCreateAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCreateFinish"
>fileCreateFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileReplaceAsync"
>fileReplaceAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileReplaceFinish"
>fileReplaceFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryInfo"
>fileQueryInfo</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryInfoAsync"
>fileQueryInfoAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryInfoFinish"
>fileQueryInfoFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryExists"
>fileQueryExists</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryFileType"
>fileQueryFileType</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryFilesystemInfo"
>fileQueryFilesystemInfo</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryFilesystemInfoAsync"
>fileQueryFilesystemInfoAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryFilesystemInfoFinish"
>fileQueryFilesystemInfoFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryDefaultHandler"
>fileQueryDefaultHandler</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> AppInfo</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFindEnclosingMount"
>fileFindEnclosingMount</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> Mount</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFindEnclosingMountAsync"
>fileFindEnclosingMountAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileFindEnclosingMountFinish"
>fileFindEnclosingMountFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> Mount</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileEnumerateChildren"
>fileEnumerateChildren</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileEnumerator</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileEnumerateChildrenAsync"
>fileEnumerateChildrenAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileEnumerateChildrenFinish"
>fileEnumerateChildrenFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileEnumerator</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileSetDisplayName"
>fileSetDisplayName</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileSetDisplayNameAsync"
>fileSetDisplayNameAsync</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileSetDisplayNameFinish"
>fileSetDisplayNameFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileDelete"
>fileDelete</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileTrash"
>fileTrash</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCopy"
>fileCopy</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCopyAsync"
>fileCopyAsync</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileCopyFinish"
>fileCopyFinish</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileMove"
>fileMove</A
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileMakeDirectory"
>fileMakeDirectory</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileMakeDirectoryWithParents"
>fileMakeDirectoryWithParents</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileMakeSymbolicLink"
>fileMakeSymbolicLink</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQuerySettableAttributes"
>fileQuerySettableAttributes</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="System-GIO-File-FileAttribute.html#t%3AFileAttributeInfo"
>FileAttributeInfo</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfileQueryWritableNamespaces"
>fileQueryWritableNamespaces</A
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="System-GIO-File-FileAttribute.html#t%3AFileAttributeInfo"
>FileAttributeInfo</A
>]</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>Details
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="doc"
><P
>GFile is a high level abstraction for manipulating files on a virtual file system. GFiles are
 lightweight, immutable objects that do no I/O upon creation. It is necessary to understand that
 GFile objects do not represent files, merely an identifier for a file. All file content I/O is
 implemented as streaming operations (see GInputStream and GOutputStream).
</P
><P
>To construct a GFile, you can use: fileNewForPath if
 you have a URI. fileNewForCommandlineArg
 from a utf8 string gotten from fileGetParseName.
</P
><P
>One way to think of a GFile is as an abstraction of a pathname. For normal files the system pathname
 is what is stored internally, but as GFiles are extensible it could also be something else that
 corresponds to a pathname in a userspace implementation of a filesystem.
</P
><P
>GFiles make up hierarchies of directories and files that correspond to the files on a
 filesystem. You can move through the file system with GFile using fileGetParent to get an
 identifier for the parent directory, <TT
><A HREF="System-GIO-File-File.html#v%3AfileGetChild"
>fileGetChild</A
></TT
> to get a child within a directory,
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileResolveRelativePath"
>fileResolveRelativePath</A
></TT
> to resolve a relative path between two GFiles. There can be multiple
 hierarchies, so you may not end up at the same root if you repeatedly call fileGetParent on
 two different files.
</P
><P
>All GFiles have a basename (get with fileGetBasename. These names are byte strings that are
 used to identify the file on the filesystem (relative to its parent directory) and there is no
 guarantees that they have any particular charset encoding or even make any sense at all. If you want
 to use filenames in a user interface you should use the display name that you can get by requesting
 the GFileAttributeStandardDisplayName attribute with <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
>. This is guaranteed to
 be in utf8 and can be used in a user interface. But always store the real basename or the GFile to
 use to actually access the file, because there is no way to go from a display name to the actual
 name.
</P
><P
>Using GFile as an identifier has the same weaknesses as using a path in that there may be multiple
 aliases for the same file. For instance, hard or soft links may cause two different GFiles to refer
 to the same file. Other possible causes for aliases are: case insensitive filesystems, short and
 long names on Fat/NTFS, or bind mounts in Linux. If you want to check if two GFiles point to the
 same file you can query for the GFileAttributeIdFile attribute. Note that GFile does some
 trivial canonicalization of pathnames passed in, so that trivial differences in the path string used
 at creation (duplicated slashes, slash at end of path, <A HREF="-.html"
>.</A
> or <A HREF="--.html"
>..</A
> path segments, etc) does not
 create different GFiles.
</P
><P
>Many GFile operations have both synchronous and asynchronous versions to suit your
 application. Asynchronous versions of synchronous functions simply have _async() appended to their
 function names. The asynchronous I/O functions call a GAsyncReadyCallback which is then used to
 finalize the operation, producing a GAsyncResult which is then passed to the function's matching
 _finish() operation.
</P
><P
>Some GFile operations do not have synchronous analogs, as they may take a very long time to finish,
 and blocking may leave an application unusable. Notable cases include: fileMountMountable to
 mount a mountable file. fileUnmountMountableWithOperation to unmount a mountable
 file. fileEjectMountableWithOperation to eject a mountable file.
</P
><P
>One notable feature of GFiles are entity tags, or <A HREF="etags.html"
>etags</A
> for short. Entity tags are somewhat like a
 more abstract version of the traditional mtime, and can be used to quickly determine if the file has
 been modified from the version on the file system. See the HTTP 1.1 specification for HTTP Etag
 headers, which are a very similar concept.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Types.
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:FileProgressCallback"
><A NAME="t%3AFileProgressCallback"
></A
></A
><B
>FileProgressCallback</B
> = <A HREF="System-GIO-Base.html#t%3AOffset"
>Offset</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AOffset"
>Offset</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileProgressCallback"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:FileReadMoreCallback"
><A NAME="t%3AFileReadMoreCallback"
></A
></A
><B
>FileReadMoreCallback</B
> = <A HREF="/usr/share/doc/ghc/html/libraries/bytestring-0.9.1.7/Data-ByteString.html#t%3AByteString"
>ByteString</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileReadMoreCallback"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A NAME="t:FileClass"
><A NAME="t%3AFileClass"
></A
></A
><B
>FileClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-Types.html#FileClass"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>Enums
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>newtype</SPAN
>  <A NAME="t:File"
><A NAME="t%3AFile"
></A
></A
><B
>File</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-Types.html#File"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:File"
><A NAME="v%3AFile"
></A
></A
><B
>File</B
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-ForeignPtr.html#t%3AForeignPtr"
>ForeignPtr</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
>)</TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:File')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:File" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FileQueryInfoFlags"
><A NAME="t%3AFileQueryInfoFlags"
></A
></A
><B
>FileQueryInfoFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileQueryInfoFlags"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FileQueryInfoNone"
><A NAME="v%3AFileQueryInfoNone"
></A
></A
><B
>FileQueryInfoNone</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileQueryInfoNofollowSymlinks"
><A NAME="v%3AFileQueryInfoNofollowSymlinks"
></A
></A
><B
>FileQueryInfoNofollowSymlinks</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileQueryInfoFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileQueryInfoFlags" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FileCreateFlags"
><A NAME="t%3AFileCreateFlags"
></A
></A
><B
>FileCreateFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileCreateFlags"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FileCreateNone"
><A NAME="v%3AFileCreateNone"
></A
></A
><B
>FileCreateNone</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCreatePrivate"
><A NAME="v%3AFileCreatePrivate"
></A
></A
><B
>FileCreatePrivate</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCreateReplaceDestination"
><A NAME="v%3AFileCreateReplaceDestination"
></A
></A
><B
>FileCreateReplaceDestination</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileCreateFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileCreateFlags" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FileCopyFlags"
><A NAME="t%3AFileCopyFlags"
></A
></A
><B
>FileCopyFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileCopyFlags"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyNone"
><A NAME="v%3AFileCopyNone"
></A
></A
><B
>FileCopyNone</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyOverwrite"
><A NAME="v%3AFileCopyOverwrite"
></A
></A
><B
>FileCopyOverwrite</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyBackup"
><A NAME="v%3AFileCopyBackup"
></A
></A
><B
>FileCopyBackup</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyNofollowSymlinks"
><A NAME="v%3AFileCopyNofollowSymlinks"
></A
></A
><B
>FileCopyNofollowSymlinks</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyAllMetadata"
><A NAME="v%3AFileCopyAllMetadata"
></A
></A
><B
>FileCopyAllMetadata</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyNoFallbackForMove"
><A NAME="v%3AFileCopyNoFallbackForMove"
></A
></A
><B
>FileCopyNoFallbackForMove</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileCopyTargetDefaultPerms"
><A NAME="v%3AFileCopyTargetDefaultPerms"
></A
></A
><B
>FileCopyTargetDefaultPerms</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileCopyFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileCopyFlags" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FileMonitorFlags"
><A NAME="t%3AFileMonitorFlags"
></A
></A
><B
>FileMonitorFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileMonitorFlags"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FileMonitorNone"
><A NAME="v%3AFileMonitorNone"
></A
></A
><B
>FileMonitorNone</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileMonitorWatchMounts"
><A NAME="v%3AFileMonitorWatchMounts"
></A
></A
><B
>FileMonitorWatchMounts</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileMonitorSendMoved"
><A NAME="v%3AFileMonitorSendMoved"
></A
></A
><B
>FileMonitorSendMoved</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileMonitorFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileMonitorFlags" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="System-GIO-File-File.html#t%3AFileMonitorFlags"
>FileMonitorFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FilesystemPreviewType"
><A NAME="t%3AFilesystemPreviewType"
></A
></A
><B
>FilesystemPreviewType</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FilesystemPreviewType"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FilesystemPreviewTypeIfAlways"
><A NAME="v%3AFilesystemPreviewTypeIfAlways"
></A
></A
><B
>FilesystemPreviewTypeIfAlways</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FilesystemPreviewTypeIfLocal"
><A NAME="v%3AFilesystemPreviewTypeIfLocal"
></A
></A
><B
>FilesystemPreviewTypeIfLocal</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FilesystemPreviewTypeNever"
><A NAME="v%3AFilesystemPreviewTypeNever"
></A
></A
><B
>FilesystemPreviewTypeNever</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FilesystemPreviewType')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FilesystemPreviewType" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFilesystemPreviewType"
>FilesystemPreviewType</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:FileType"
><A NAME="t%3AFileType"
></A
></A
><B
>FileType</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#FileType"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeUnknown"
><A NAME="v%3AFileTypeUnknown"
></A
></A
><B
>FileTypeUnknown</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeRegular"
><A NAME="v%3AFileTypeRegular"
></A
></A
><B
>FileTypeRegular</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeDirectory"
><A NAME="v%3AFileTypeDirectory"
></A
></A
><B
>FileTypeDirectory</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeSymbolicLink"
><A NAME="v%3AFileTypeSymbolicLink"
></A
></A
><B
>FileTypeSymbolicLink</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeSpecial"
><A NAME="v%3AFileTypeSpecial"
></A
></A
><B
>FileTypeSpecial</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeShortcut"
><A NAME="v%3AFileTypeShortcut"
></A
></A
><B
>FileTypeShortcut</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:FileTypeMountable"
><A NAME="v%3AFileTypeMountable"
></A
></A
><B
>FileTypeMountable</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:FileType')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FileType" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Typeable.html#t%3ATypeable"
>Typeable</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>Methods
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFromPath"
><A NAME="v%3AfileFromPath"
></A
></A
><B
>fileFromPath</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFromPath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Constructs a GFile for a given path. This operation never fails, but the returned object might not
 support any I/O operation if path is malformed.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFromURI"
><A NAME="v%3AfileFromURI"
></A
></A
><B
>fileFromURI</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFromURI"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Constructs a GFile for a given URI. This operation never fails, but the returned object might not
 support any I/O operation if uri is malformed or if the uri type is not supported.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFromCommandlineArg"
><A NAME="v%3AfileFromCommandlineArg"
></A
></A
><B
>fileFromCommandlineArg</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFromCommandlineArg"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Creates a GFile with the given argument from the command line. The value of arg can be either a URI,
 an absolute path or a relative path resolved relative to the current working directory. This
 operation never fails, but the returned object might not support any I/O operation if arg points to
 a malformed path.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFromParseName"
><A NAME="v%3AfileFromParseName"
></A
></A
><B
>fileFromParseName</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFromParseName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Constructs a GFile with the given 'name (i.e. something given by gFileGetParseName'. This
 operation never fails, but the returned object might not support any I/O operation if the <TT
>parseName</TT
>
 cannot be parsed.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileEqual"
><A NAME="v%3AfileEqual"
></A
></A
><B
>fileEqual</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileEqual"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Compare two file descriptors for equality. This test is also used to
 implement the '(==)' function, that is, comparing two descriptions
 will compare their content, not the pointers to the two structures.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileBasename"
><A NAME="v%3AfileBasename"
></A
></A
><B
>fileBasename</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileBasename"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the base name (the last component of the path) for a given GFile.
</P
><P
>If called for the top level of a system (such as the filesystem root or a uri like sftp:
 will return a single directory separator (and on Windows, possibly a drive letter).
</P
><P
>The base name is a byte string (*not* UTF-8). It has no defined encoding or rules other than it may
 not contain zero bytes. If you want to use filenames in a user interface you should use the display
 name that you can get by requesting the GFileAttributeStandardDisplayName attribute with
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
>.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:filePath"
><A NAME="v%3AfilePath"
></A
></A
><B
>filePath</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#filePath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the local pathname for GFile, if one exists.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileHasParent"
><A NAME="v%3AfileHasParent"
></A
></A
><B
>fileHasParent</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileHasParent"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Checks if file has a parent, and optionally, if it is parent.
</P
><P
>If parent is <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
> then this function returns <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#v%3ATrue"
>True</A
></TT
> if file has any parent at all. If parent is
 non-<TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
> then <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#v%3ATrue"
>True</A
></TT
> is only returned if file is a child of parent.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileURI"
><A NAME="v%3AfileURI"
></A
></A
><B
>fileURI</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileURI"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the URI for the file.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileParseName"
><A NAME="v%3AfileParseName"
></A
></A
><B
>fileParseName</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileParseName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the parse name of the file. A parse name is a UTF-8 string that describes the file such that
 one can get the GFile back using <TT
><A HREF="System-GIO-File-File.html#v%3AfileParseName"
>fileParseName</A
></TT
>.
</P
><P
>This is generally used to show the GFile as a nice full-pathname kind of string in a user interface,
 like in a location entry.
</P
><P
>For local files with names that can safely be converted to UTF8 the pathname is used, otherwise the
 IRI is used (a form of URI that allows UTF8 characters unescaped).
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileGetChild"
><A NAME="v%3AfileGetChild"
></A
></A
><B
>fileGetChild</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileGetChild"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets a child of file with basename equal to name.
</P
><P
>Note that the file with that specific name might not exist, but you can still have a GFile that
 points to it. You can use this for instance to create that file.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileGetChildForDisplayName"
><A NAME="v%3AfileGetChildForDisplayName"
></A
></A
><B
>fileGetChildForDisplayName</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileGetChildForDisplayName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the child of file for a given 'name (i.e. a UTF8 version of the name)'. If this function
 fails, it returns <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
> and error will be set. This is very useful when constructing a GFile for a
 new file and the user entered the filename in the user interface, for instance when you select a
 directory and type a filename in the file selector.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileHasPrefix"
><A NAME="v%3AfileHasPrefix"
></A
></A
><B
>fileHasPrefix</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileHasPrefix"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Checks whether file has the prefix specified by prefix. In other word, if the names of inital
 elements of files pathname match prefix. Only full pathname elements are matched, so a path like
 <EM
>foo is not considered a prefix of </EM
>foobar, only of <EM
> foo</EM
>bar.
</P
><P
>This call does no i/o, as it works purely on names. As such it can sometimes return <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#v%3AFalse"
>False</A
></TT
> even if
 file is inside a prefix (from a filesystem point of view), because the prefix of file is an alias of
 prefix.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileGetRelativePath"
><A NAME="v%3AfileGetRelativePath"
></A
></A
><B
>fileGetRelativePath</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file1, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file2) =&gt; file1 -&gt; file2 -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileGetRelativePath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the path for descendant relative to parent.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileResolveRelativePath"
><A NAME="v%3AfileResolveRelativePath"
></A
></A
><B
>fileResolveRelativePath</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileResolveRelativePath"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Resolves a relative path for file to an absolute path.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileIsNative"
><A NAME="v%3AfileIsNative"
></A
></A
><B
>fileIsNative</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileIsNative"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Checks to see if a file is native to the platform.
</P
><P
>A native file s one expressed in the platform-native filename format, e.g. &quot;C:\Windows&quot; or
 &quot;<EM
>usr</EM
>bin/&quot;. This does not mean the file is local, as it might be on a locally mounted remote
 filesystem.
</P
><P
>On some systems non-native files may be available using the native filesystem via a userspace
 filesystem (FUSE), in these cases this call will return <TT
>False</TT
>, but fileGetPath will still
 return a native path.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileHasURIScheme"
><A NAME="v%3AfileHasURIScheme"
></A
></A
><B
>fileHasURIScheme</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileHasURIScheme"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Checks to see if a GFile has a given URI scheme.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileURIScheme"
><A NAME="v%3AfileURIScheme"
></A
></A
><B
>fileURIScheme</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileURIScheme"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the URI scheme for a GFile. RFC 3986 decodes the scheme as:
</P
><P
>URI = scheme <A HREF=":.html"
>:</A
> hier-part [ <A HREF="?.html"
>?</A
> query ] [ <A HREF=".html#"
></A
> fragment ]
</P
><P
>Common schemes include <A HREF="file.html"
>file</A
>, <A HREF="http.html"
>http</A
>, <A HREF="ftp.html"
>ftp</A
>, etc.
</P
><P
>This call does no blocking i/o.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileRead"
><A NAME="v%3AfileRead"
></A
></A
><B
>fileRead</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileRead"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Opens a file for reading. The result is a GFileInputStream that can be used to read the contents of
 the file.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If the file does not exist, the GIoErrorNotFound error will be returned. If the file is a
 directory, the GIoErrorIsDirectory error will be returned. Other errors are possible too, and
 depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileReadAsync"
><A NAME="v%3AfileReadAsync"
></A
></A
><B
>fileReadAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileReadAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously opens file for reading.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileRead"
>fileRead</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call <TT
><A HREF="System-GIO-File-File.html#v%3AfileReadFinish"
>fileReadFinish</A
></TT
> to
 get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileReadFinish"
><A NAME="v%3AfileReadFinish"
></A
></A
><B
>fileReadFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileReadFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous file read operation started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileReadAsync"
>fileReadAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileAppendTo"
><A NAME="v%3AfileAppendTo"
></A
></A
><B
>fileAppendTo</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileAppendTo"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets an output stream for appending data to the file. If the file doesn't already exist it is
 created.
</P
><P
>By default files created are generally readable by everyone, but if you pass GFileCreatePrivate
 in flags the file will be made readable only to the current user, to the level that is supported on
 the target filesystem.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>Some file systems don't allow all file names, and may return an GIoErrorInvalidFilename
 error. If the file is a directory the GIoErrorIsDirectory error will be returned. Other errors
 are possible too, and depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCreate"
><A NAME="v%3AfileCreate"
></A
></A
><B
>fileCreate</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCreate"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Creates a new file and returns an output stream for writing to it. The file must not already exist.
</P
><P
>By default files created are generally readable by everyone, but if you pass GFileCreatePrivate
 in flags the file will be made readable only to the current user, to the level that is supported on
 the target filesystem.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If a file or directory with this name already exists the GIoErrorExists error will be
 returned. Some file systems don't allow all file names, and may return an
 GIoErrorInvalidFilename error, and if the name is to long GIoErrorFilenameTooLong will be
 returned. Other errors are possible too, and depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileReplace"
><A NAME="v%3AfileReplace"
></A
></A
><B
>fileReplace</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileReplace"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Returns an output stream for overwriting the file, possibly creating a backup copy of the file
 first. If the file doesn't exist, it will be created.
</P
><P
>This will try to replace the file in the safest way possible so that any errors during the writing
 will not affect an already existing copy of the file. For instance, for local files it may write to
 a temporary file and then atomically rename over the destination when the stream is closed.
</P
><P
>By default files created are generally readable by everyone, but if you pass GFileCreatePrivate
 in flags the file will be made readable only to the current user, to the level that is supported on
 the target filesystem.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If you pass in a non-<TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
> etag value, then this value is compared to the current entity tag of the
 file, and if they differ an GIoErrorWrongEtag error is returned. This generally means that the
 file has been changed since you last read it. You can get the new etag from
 fileOutputStreamGetEtag after you've finished writing and closed the GFileOutputStream.
 When you load a new file you can use fileInputStreamQueryInfo to get the etag of the file.
</P
><P
>If <TT
>makeBackup</TT
> is <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#v%3ATrue"
>True</A
></TT
>, this function will attempt to make a backup of the current file before
 overwriting it. If this fails a GIoErrorCantCreateBackup error will be returned. If you want to
 replace anyway, try again with <TT
>makeBackup</TT
> set to <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#v%3AFalse"
>False</A
></TT
>.
</P
><P
>If the file is a directory the GIoErrorIsDirectory error will be returned, and if the file is
 some other form of non-regular file then a GIoErrorNotRegularFile error will be returned. Some
 file systems don't allow all file names, and may return an GIoErrorInvalidFilename error, and if
 the name is to long GIoErrorFilenameTooLong will be returned. Other errors are possible too,
 and depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileAppendToAsync"
><A NAME="v%3AfileAppendToAsync"
></A
></A
><B
>fileAppendToAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileAppendToAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously opens file for appending.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileAppendTo"
>fileAppendTo</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call <TT
><A HREF="System-GIO-File-File.html#v%3AfileAppendToFinish"
>fileAppendToFinish</A
></TT
>
 to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileAppendToFinish"
><A NAME="v%3AfileAppendToFinish"
></A
></A
><B
>fileAppendToFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileAppendToFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous file append operation started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileAppendToAsync"
>fileAppendToAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCreateAsync"
><A NAME="v%3AfileCreateAsync"
></A
></A
><B
>fileCreateAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCreateAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously creates a new file and returns an output stream for writing to it. The file must not
 already exist.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileCreate"
>fileCreate</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call <TT
><A HREF="System-GIO-File-File.html#v%3AfileCreateFinish"
>fileCreateFinish</A
></TT
> to
 get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCreateFinish"
><A NAME="v%3AfileCreateFinish"
></A
></A
><B
>fileCreateFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCreateFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous file create operation started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileCreateAsync"
>fileCreateAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileReplaceAsync"
><A NAME="v%3AfileReplaceAsync"
></A
></A
><B
>fileReplaceAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCreateFlags"
>FileCreateFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileReplaceAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously overwrites the file, replacing the contents, possibly creating a backup copy of the
 file first.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileReplace"
>fileReplace</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call <TT
><A HREF="System-GIO-File-File.html#v%3AfileReplaceFinish"
>fileReplaceFinish</A
></TT
>
 to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileReplaceFinish"
><A NAME="v%3AfileReplaceFinish"
></A
></A
><B
>fileReplaceFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileOutputStream</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileReplaceFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous file replace operation started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileReplaceAsync"
>fileReplaceAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryInfo"
><A NAME="v%3AfileQueryInfo"
></A
></A
><B
>fileQueryInfo</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryInfo"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the requested information about specified file. The result is a GFileInfo object that contains
 key-value attributes (such as the type or size of the file).
</P
><P
>The attribute value is a string that specifies the file attributes that should be gathered. It is
 not an error if it's not possible to read a particular requested attribute from a file - it just
 won't be set. attribute should be a comma-separated list of attribute or attribute wildcards. The
 wildcard &quot;*&quot; means all attributes, and a wildcard like &quot;standard::*&quot; means all attributes in the
 standard namespace. An example attribute query be &quot;standard::*,user&quot;. The standard attributes
 are available as defines, like GFileAttributeStandardName.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>For symlinks, normally the information about the target of the symlink is returned, rather than
 information about the symlink itself. However if you pass GFileQueryInfoNofollowSymlinks in
 flags the information about the symlink itself will be returned. Also, for symlinks that point to
 non-existing files the information about the symlink itself will be returned.
</P
><P
>If the file does not exist, the GIoErrorNotFound error will be returned. Other errors are
 possible too, and depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryInfoAsync"
><A NAME="v%3AfileQueryInfoAsync"
></A
></A
><B
>fileQueryInfoAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryInfoAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously gets the requested information about specified file. The
 result is a GFileInfo object that contains key-value attributes (such as
 type or size for the file).
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
> which is the synchronous version of
 this call.
</P
><P
>When the operation is finished, callback will be called. You can then call
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfoFinish"
>fileQueryInfoFinish</A
></TT
> to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryInfoFinish"
><A NAME="v%3AfileQueryInfoFinish"
></A
></A
><B
>fileQueryInfoFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryInfoFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous file info query. See <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfoAsync"
>fileQueryInfoAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryExists"
><A NAME="v%3AfileQueryExists"
></A
></A
><B
>fileQueryExists</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryExists"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Utility function to check if a particular file exists. This is implemented using <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
>
 and as such does blocking I/O.
</P
><P
>Note that in many cases it is racy to first check for file existence and then execute something
 based on the outcome of that, because the file might have been created or removed in between the
 operations. The general approach to handling that is to not check, but just do the operation and
 handle the errors as they come.
</P
><P
>As an example of race-free checking, take the case of reading a file, and if it doesn't exist,
 creating it. There are two racy versions: read it, and on error create it; and: check if it exists,
 if not create it. These can both result in two processes creating the file (with perhaps a partially
 written file as the result). The correct approach is to always try to create the file with
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileCreate"
>fileCreate</A
></TT
> which will either atomically create the file or fail with a GIoErrorExists error.
</P
><P
>However, in many cases an existence check is useful in a user interface, for instance to make a menu
 item sensitive/ insensitive, so that you don't have to fool users that something is possible and
 then just show and error dialog. If you do this, you should make sure to also handle the errors that
 can happen due to races when you execute the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryFileType"
><A NAME="v%3AfileQueryFileType"
></A
></A
><B
>fileQueryFileType</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFileType"
>FileType</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryFileType"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Utility function to inspect the GFileType of a file. This is implemented using <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
>
 and as such does blocking I/O.
</P
><P
>The primary use case of this method is to check if a file is a regular file, directory, or symlink.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryFilesystemInfo"
><A NAME="v%3AfileQueryFilesystemInfo"
></A
></A
><B
>fileQueryFilesystemInfo</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryFilesystemInfo"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Similar to <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfo"
>fileQueryInfo</A
></TT
>, but obtains information about the filesystem the file is on, rather
 than the file itself. For instance the amount of space available and the type of the filesystem.
</P
><P
>The attribute value is a string that specifies the file attributes that should be gathered. It is
 not an error if it's not possible to read a particular requested attribute from a file - it just
 won't be set. attribute should be a comma-separated list of attribute or attribute wildcards. The
 wildcard <A HREF="*.html"
>*</A
> means all attributes, and a wildcard like <A HREF="fs:*.html"
>fs:*</A
> means all attributes in the fs
 namespace. The standard namespace for filesystem attributes is <A HREF="fs.html"
>fs</A
>. Common attributes of interest
 are 'FILEAttributeFilesystemSize (The Total Size Of The Filesystem In Bytes)',
 'FILEAttributeFilesystemFree (Number Of Bytes Available)', and GFileAttributeFilesystemType
 (type of the filesystem).
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If the file does not exist, the GIoErrorNotFound error will be returned. Other errors are
 possible too, and depend on what kind of filesystem the file is on.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryFilesystemInfoAsync"
><A NAME="v%3AfileQueryFilesystemInfoAsync"
></A
></A
><B
>fileQueryFilesystemInfoAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryFilesystemInfoAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously gets the requested information about the filesystem that the specified file is
 on. The result is a GFileInfo object that contains key-value attributes (such as type or size for
 the file).
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryFilesystemInfo"
>fileQueryFilesystemInfo</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryInfoFinish"
>fileQueryInfoFinish</A
></TT
> to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryFilesystemInfoFinish"
><A NAME="v%3AfileQueryFilesystemInfoFinish"
></A
></A
><B
>fileQueryFilesystemInfoFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileInfo</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryFilesystemInfoFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous filesystem info query. See <TT
><A HREF="System-GIO-File-File.html#v%3AfileQueryFilesystemInfoAsync"
>fileQueryFilesystemInfoAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryDefaultHandler"
><A NAME="v%3AfileQueryDefaultHandler"
></A
></A
><B
>fileQueryDefaultHandler</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> AppInfo</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryDefaultHandler"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Returns the GAppInfo that is registered as the default application to handle the file specified by
 file.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFindEnclosingMount"
><A NAME="v%3AfileFindEnclosingMount"
></A
></A
><B
>fileFindEnclosingMount</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> Mount</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFindEnclosingMount"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets a GMount for the GFile.
</P
><P
>If the GFileIface for file does not have a mount (e.g. possibly a remote share), error will be set
 to GIoErrorNotFound and <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
> will be returned.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFindEnclosingMountAsync"
><A NAME="v%3AfileFindEnclosingMountAsync"
></A
></A
><B
>fileFindEnclosingMountAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFindEnclosingMountAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously gets the mount for the file.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileFindEnclosingMount"
>fileFindEnclosingMount</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileFindEnclosingMountFinish"
>fileFindEnclosingMountFinish</A
></TT
> to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileFindEnclosingMountFinish"
><A NAME="v%3AfileFindEnclosingMountFinish"
></A
></A
><B
>fileFindEnclosingMountFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> Mount</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileFindEnclosingMountFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an asynchronous find mount request. See <TT
><A HREF="System-GIO-File-File.html#v%3AfileFindEnclosingMountAsync"
>fileFindEnclosingMountAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileEnumerateChildren"
><A NAME="v%3AfileEnumerateChildren"
></A
></A
><B
>fileEnumerateChildren</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileEnumerator</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileEnumerateChildren"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the requested information about the files in a directory. The result is a GFileEnumerator
 object that will give out GFileInfo objects for all the files in the directory.
</P
><P
>The attribute value is a string that specifies the file attributes that should be gathered. It is
 not an error if it's not possible to read a particular requested attribute from a file - it just
 won't be set. attribute should be a comma-separated list of attribute or attribute wildcards. The
 wildcard &quot;*&quot; means all attributes, and a wildcard like &quot;standard::*&quot; means all attributes in the
 standard namespace. An example attribute query be &quot;standard::*,user&quot;. The standard attributes
 are available as defines, like GFileAttributeStandardName.
</P
><P
>If cancellable is not <TT
>Nothing</TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If the file does not exist, the GIoErrorNotFound error will be returned. If the file is not a
 directory, the GFileErrorNotdir error will be returned. Other errors are possible too.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileEnumerateChildrenAsync"
><A NAME="v%3AfileEnumerateChildrenAsync"
></A
></A
><B
>fileEnumerateChildrenAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileQueryInfoFlags"
>FileQueryInfoFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileEnumerateChildrenAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously gets the requested information about the files in a directory. The result is a
 GFileEnumerator object that will give out GFileInfo objects for all the files in the directory.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileEnumerateChildren"
>fileEnumerateChildren</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileEnumerateChildrenFinish"
>fileEnumerateChildrenFinish</A
></TT
> to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileEnumerateChildrenFinish"
><A NAME="v%3AfileEnumerateChildrenFinish"
></A
></A
><B
>fileEnumerateChildrenFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> FileEnumerator</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileEnumerateChildrenFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes an async enumerate children operation. See <TT
><A HREF="System-GIO-File-File.html#v%3AfileEnumerateChildrenAsync"
>fileEnumerateChildrenAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileSetDisplayName"
><A NAME="v%3AfileSetDisplayName"
></A
></A
><B
>fileSetDisplayName</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileSetDisplayName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Renames file to the specified display name.
</P
><P
>The display name is converted from UTF8 to the correct encoding for the target filesystem if
 possible and the file is renamed to this.
</P
><P
>If you want to implement a rename operation in the user interface the edit name
 (GFileAttributeStandardEditName) should be used as the initial value in the rename widget, and
 then the result after editing should be passed to <TT
><A HREF="System-GIO-File-File.html#v%3AfileSetDisplayName"
>fileSetDisplayName</A
></TT
>.
</P
><P
>On success the resulting converted filename is returned.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileSetDisplayNameAsync"
><A NAME="v%3AfileSetDisplayNameAsync"
></A
></A
><B
>fileSetDisplayNameAsync</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileSetDisplayNameAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Asynchronously sets the display name for a given GFile.
</P
><P
>For more details, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileSetDisplayName"
>fileSetDisplayName</A
></TT
> which is the synchronous version of this call.
</P
><P
>When the operation is finished, callback will be called. You can then call
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileSetDisplayNameFinish"
>fileSetDisplayNameFinish</A
></TT
> to get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileSetDisplayNameFinish"
><A NAME="v%3AfileSetDisplayNameFinish"
></A
></A
><B
>fileSetDisplayNameFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="System-GIO-File-File.html#t%3AFile"
>File</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileSetDisplayNameFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes setting a display name started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileSetDisplayNameAsync"
>fileSetDisplayNameAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileDelete"
><A NAME="v%3AfileDelete"
></A
></A
><B
>fileDelete</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileDelete"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Deletes a file. If the file is a directory, it will only be deleted if it is empty.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileTrash"
><A NAME="v%3AfileTrash"
></A
></A
><B
>fileTrash</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileTrash"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sends file to the <A HREF="Trashcan.html"
>Trashcan</A
>, if possible. This is similar to deleting it, but the user can recover
 it before emptying the trashcan. Not all file systems support trashing, so this call can return the
 GIoErrorNotSupported error.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCopy"
><A NAME="v%3AfileCopy"
></A
></A
><B
>fileCopy</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCopy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Copies the file source to the location specified by destination. Can not handle recursive copies of
 directories.
</P
><P
>If the flag GFileCopyOverwrite is specified an already existing destination file is overwritten.
</P
><P
>If the flag GFileCopyNofollowSymlinks is specified then symlinks will be copied as symlinks,
 otherwise the target of the source symlink will be copied.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If <TT
>progressCallback</TT
> is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be monitored by setting this to a
 GFileProgressCallback function. <TT
>progressCallbackData</TT
> will be passed to this function. It is
 guaranteed that this callback will be called after all data has been transferred with the total
 number of bytes copied during the operation.
</P
><P
>If the source file does not exist then the GIoErrorNotFound error is returned, independent on
 the status of the destination.
</P
><P
>If GFileCopyOverwrite is not specified and the target exists, then the error GIoErrorExists is
 returned.
</P
><P
>If trying to overwrite a file over a directory the GIoErrorIsDirectory error is returned. If
 trying to overwrite a directory with a directory the GIoErrorWouldMerge error is returned.
</P
><P
>If the source is a directory and the target does not exist, or GFileCopyOverwrite is specified
 and the target is a file, then the GIoErrorWouldRecurse error is returned.
</P
><P
>If you are interested in copying the GFile object itself (not the on-disk file), see fileDup.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCopyAsync"
><A NAME="v%3AfileCopyAsync"
></A
></A
><B
>fileCopyAsync</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="System-GIO-Base.html#t%3AAsyncReadyCallback"
>AsyncReadyCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCopyAsync"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Copies the file source to the location specified by destination asynchronously. For details of the
 behaviour, see <TT
><A HREF="System-GIO-File-File.html#v%3AfileCopy"
>fileCopy</A
></TT
>.
</P
><P
>If <TT
>progressCallback</TT
> is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then that function that will be called just like in <TT
><A HREF="System-GIO-File-File.html#v%3AfileCopy"
>fileCopy</A
></TT
>,
 however the callback will run in the main loop, not in the thread that is doing the I/O operation.
</P
><P
>When the operation is finished, callback will be called. You can then call <TT
><A HREF="System-GIO-File-File.html#v%3AfileCopyFinish"
>fileCopyFinish</A
></TT
> to
 get the result of the operation.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileCopyFinish"
><A NAME="v%3AfileCopyFinish"
></A
></A
><B
>fileCopyFinish</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="System-GIO-Async-AsyncResult.html#t%3AAsyncResult"
>AsyncResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileCopyFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Finishes copying the file started with <TT
><A HREF="System-GIO-File-File.html#v%3AfileCopyAsync"
>fileCopyAsync</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileMove"
><A NAME="v%3AfileMove"
></A
></A
><B
>fileMove</B
> :: (<A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> source, <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> destination) =&gt; source -&gt; destination -&gt; [<A HREF="System-GIO-File-File.html#t%3AFileCopyFlags"
>FileCopyFlags</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-File-File.html#t%3AFileProgressCallback"
>FileProgressCallback</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileMove"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Tries to move the file or directory source to the location specified by destination. If native move
 operations are supported then this is used, otherwise a copy + delete fallback is used. The native
 implementation may support moving directories (for instance on moves inside the same filesystem),
 but the fallback code does not.
</P
><P
>If the flag GFileCopyOverwrite is specified an already existing destination file is overwritten.
</P
><P
>If the flag GFileCopyNofollowSymlinks is specified then symlinks will be copied as symlinks,
 otherwise the target of the source symlink will be copied.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
><P
>If <TT
>progressCallback</TT
> is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be monitored by setting this to a
 GFileProgressCallback function. <TT
>progressCallbackData</TT
> will be passed to this function. It is
 guaranteed that this callback will be called after all data has been transferred with the total
 number of bytes copied during the operation.
</P
><P
>If the source file does not exist then the GIoErrorNotFound error is returned, independent on
 the status of the destination.
</P
><P
>If GFileCopyOverwrite is not specified and the target exists, then the error GIoErrorExists is
 returned.
</P
><P
>If trying to overwrite a file over a directory the GIoErrorIsDirectory error is returned. If
 trying to overwrite a directory with a directory the GIoErrorWouldMerge error is returned.
</P
><P
>If the source is a directory and the target does not exist, or GFileCopyOverwrite is specified
 and the target is a file, then the GIoErrorWouldRecurse error may be returned (if the native
 move operation isn't available).
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileMakeDirectory"
><A NAME="v%3AfileMakeDirectory"
></A
></A
><B
>fileMakeDirectory</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileMakeDirectory"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Creates a directory. Note that this will only create a child directory of the immediate parent
 directory of the path or URI given by the GFile. To recursively create directories, see
 <TT
><A HREF="System-GIO-File-File.html#v%3AfileMakeDirectoryWithParents"
>fileMakeDirectoryWithParents</A
></TT
>. This function will fail if the parent directory does not
 exist, setting error to GIoErrorNotFound. If the file system doesn't support creating
 directories, this function will fail, setting error to GIoErrorNotSupported.
</P
><P
>For a local GFile the newly created directory will have the default (current) ownership and
 permissions of the current process.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileMakeDirectoryWithParents"
><A NAME="v%3AfileMakeDirectoryWithParents"
></A
></A
><B
>fileMakeDirectoryWithParents</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileMakeDirectoryWithParents"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Creates a directory and any parent directories that may not exist similar to 'mkdir -p'. If the file
 system does not support creating directories, this function will fail, setting error to
 GIoErrorNotSupported.
</P
><P
>For a local GFile the newly created directories will have the default (current) ownership and
 permissions of the current process.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileMakeSymbolicLink"
><A NAME="v%3AfileMakeSymbolicLink"
></A
></A
><B
>fileMakeSymbolicLink</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileMakeSymbolicLink"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Creates a symbolic link.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQuerySettableAttributes"
><A NAME="v%3AfileQuerySettableAttributes"
></A
></A
><B
>fileQuerySettableAttributes</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="System-GIO-File-FileAttribute.html#t%3AFileAttributeInfo"
>FileAttributeInfo</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQuerySettableAttributes"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Obtain the list of settable attributes for the file.
</P
><P
>Returns the type and full attribute name of all the attributes that can be set on this file. This
 doesn't mean setting it will always succeed though, you might get an access failure, or some
 specific file may not support a specific attribute.
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fileQueryWritableNamespaces"
><A NAME="v%3AfileQueryWritableNamespaces"
></A
></A
><B
>fileQueryWritableNamespaces</B
> :: <A HREF="System-GIO-File-File.html#t%3AFileClass"
>FileClass</A
> file =&gt; file -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="System-GIO-Async-Cancellable.html#t%3ACancellable"
>Cancellable</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> [<A HREF="System-GIO-File-FileAttribute.html#t%3AFileAttributeInfo"
>FileAttributeInfo</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/System-GIO-File-File.html#fileQueryWritableNamespaces"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Obtain the list of attribute namespaces where new attributes can be created by a user. An example of
 this is extended attributes (in the <A HREF="xattr.html"
>xattr</A
> namespace).
</P
><P
>If cancellable is not <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, then the operation can be cancelled by triggering the cancellable object
 from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
 returned.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>