This file is indexed.

/usr/share/doc/libghc-gio-doc/html/System-GIO-File-FileInfo.html is in libghc-gio-doc 0.13.4.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>System.GIO.File.FileInfo</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_System-GIO-File-FileInfo.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-GIO-File-FileInfo.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gio-0.13.4.0: Binding to GIO</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-devel@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>alpha</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">System.GIO.File.FileInfo</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Details</a></li><li><a href="#g:2">Types</a></li><li><a href="#g:3">Enums,</a></li><li><a href="#g:4">Methods</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">newtype</span> <a href="#t:FileInfo">FileInfo</a> = <a href="#v:FileInfo">FileInfo</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-ForeignPtr.html#t:ForeignPtr">ForeignPtr</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a>)</li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:FileInfoClass">FileInfoClass</a> o</li><li class="src short"><span class="keyword">data</span> <a href="#t:FileAttributeStatus">FileAttributeStatus</a><ul class="subs"><li>= <a href="#v:FileAttributeStatusUnset">FileAttributeStatusUnset</a></li><li>| <a href="#v:FileAttributeStatusSet">FileAttributeStatusSet</a></li><li>| <a href="#v:FileAttributeStatusErrorSetting">FileAttributeStatusErrorSetting</a></li></ul></li><li class="src short"><a href="#v:fileInfoNew">fileInfoNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></li><li class="src short"><a href="#v:fileInfoDup">fileInfoDup</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></li><li class="src short"><a href="#v:fileInfoCopyInto">fileInfoCopyInto</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> srcInfo, <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> destInfo) =&gt; srcInfo -&gt; destInfo -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoHasAttribute">fileInfoHasAttribute</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoHasNamespace">fileInfoHasNamespace</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoListAttributes">fileInfoListAttributes</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [string]</li><li class="src short"><a href="#v:fileInfoGetAttributeType">fileInfoGetAttributeType</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileAttribute.html#t:FileAttributeType">FileAttributeType</a></li><li class="src short"><a href="#v:fileInfoRemoveAttribute">fileInfoRemoveAttribute</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoGetAttributeAsString">fileInfoGetAttributeAsString</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><a href="#v:fileInfoGetAttributeStatus">fileInfoGetAttributeStatus</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></li><li class="src short"><a href="#v:fileInfoGetAttributeString">fileInfoGetAttributeString</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string</li><li class="src short"><a href="#v:fileInfoGetAttributeStringList">fileInfoGetAttributeStringList</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [string]</li><li class="src short"><a href="#v:fileInfoGetAttributeByteString">fileInfoGetAttributeByteString</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:fileInfoGetAttributeBool">fileInfoGetAttributeBool</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoGetAttributeWord32">fileInfoGetAttributeWord32</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word32">Word32</a></li><li class="src short"><a href="#v:fileInfoGetAttributeInt32">fileInfoGetAttributeInt32</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int32">Int32</a></li><li class="src short"><a href="#v:fileInfoGetAttributeWord64">fileInfoGetAttributeWord64</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word64">Word64</a></li><li class="src short"><a href="#v:fileInfoGetAttributeInt64">fileInfoGetAttributeInt64</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></li><li class="src short"><a href="#v:fileInfoGetAttributeObject">fileInfoGetAttributeObject</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a>)</li><li class="src short"><a href="#v:fileInfoSetAttributeStatus">fileInfoSetAttributeStatus</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoSetAttributeString">fileInfoSetAttributeString</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeStringList">fileInfoSetAttributeStringList</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; [string] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeByteString">fileInfoSetAttributeByteString</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeBool">fileInfoSetAttributeBool</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeWord32">fileInfoSetAttributeWord32</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word32">Word32</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeInt32">fileInfoSetAttributeInt32</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int32">Int32</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeWord64">fileInfoSetAttributeWord64</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word64">Word64</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeInt64">fileInfoSetAttributeInt64</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetAttributeObject">fileInfoSetAttributeObject</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoClearStatus">fileInfoClearStatus</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoGetFileType">fileInfoGetFileType</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="System-GIO-Enums.html#t:FileType">FileType</a></li><li class="src short"><a href="#v:fileInfoGetIsHidden">fileInfoGetIsHidden</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoGetIsBackup">fileInfoGetIsBackup</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoGetIsSymlink">fileInfoGetIsSymlink</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:fileInfoGetName">fileInfoGetName</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></li><li class="src short"><a href="#v:fileInfoGetDisplayName">fileInfoGetDisplayName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:fileInfoGetEditName">fileInfoGetEditName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:fileInfoGetIcon">fileInfoGetIcon</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a></li><li class="src short"><a href="#v:fileInfoGetContentType">fileInfoGetContentType</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:fileInfoGetModificationTime">fileInfoGetModificationTime</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a></li><li class="src short"><a href="#v:fileInfoGetSize">fileInfoGetSize</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></li><li class="src short"><a href="#v:fileInfoGetSymlinkTarget">fileInfoGetSymlinkTarget</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:fileInfoGetEtag">fileInfoGetEtag</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</li><li class="src short"><a href="#v:fileInfoGetSortOrder">fileInfoGetSortOrder</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:fileInfoUnsetAttributeMask">fileInfoUnsetAttributeMask</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetFileType">fileInfoSetFileType</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="System-GIO-Enums.html#t:FileType">FileType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetIsHidden">fileInfoSetIsHidden</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetIsSymlink">fileInfoSetIsSymlink</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetName">fileInfoSetName</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetDisplayName">fileInfoSetDisplayName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetEditName">fileInfoSetEditName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetIcon">fileInfoSetIcon</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetContentType">fileInfoSetContentType</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetModificationTime">fileInfoSetModificationTime</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetSize">fileInfoSetSize</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:fileInfoSetSortOrder">fileInfoSetSortOrder</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li></ul></div><div id="interface"><h1 id="g:1">Details</h1><div class="doc"><p>Functionality for manipulating basic metadata for files. <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> implements methods for getting
 information that all files should contain, and allows for manipulation of extended attributes.</p><p>See <code>FileAttribute</code> for more information on how GIO handles file attributes.</p><p>To obtain a <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> for a <code><a href="System-GIO-File-File.html#t:File">File</a></code>, use <code>fileQueryInfo</code>. To obtain a
 <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> for a file input or output stream, use <code>fileInputStreamQueryInfo</code> or
 <code>fileOutputStreamQueryInfo</code>.</p><p>To change the actual attributes of a file, you should then set the attribute in the <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> and
 call <code>fileSetAttributesFromInfo</code> on a <code><a href="System-GIO-File-File.html#t:File">File</a></code>.</p><p>However, not all attributes can be changed in the file. For instance, the actual size of a file
 cannot be changed via <code><a href="System-GIO-File-FileInfo.html#v:fileInfoSetSize">fileInfoSetSize</a></code> and
 <code>fileQueryWritableNamespaces</code> to discover the settable attributes of a particular file at
 runtime.</p><p><code>FileAttributeMatcher</code> allows for searching through a <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> for attributes.</p></div><h1 id="g:2">Types</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a id="t:FileInfo" class="def">FileInfo</a> <a href="src/System-GIO-Types.html#FileInfo" class="link">Source</a> <a href="#t:FileInfo" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:FileInfo" class="def">FileInfo</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Foreign-ForeignPtr.html#t:ForeignPtr">ForeignPtr</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a>)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:FileInfo" class="caption collapser" onclick="toggleSection('i:FileInfo')">Instances</p><div id="section.i:FileInfo" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileInfo:Eq:1" class="instance expander" onclick="toggleSection('i:id:FileInfo:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></span> <a href="src/System-GIO-Types.html#line-777" class="link">Source</a> <a href="#t:FileInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileInfo:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileInfo:Ord:2" class="instance expander" onclick="toggleSection('i:id:FileInfo:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></span> <a href="src/System-GIO-Types.html#line-777" class="link">Source</a> <a href="#t:FileInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileInfo:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileInfo:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:FileInfo:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></span> <a href="src/System-GIO-Types.html#line-787" class="link">Source</a> <a href="#t:FileInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileInfo:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileInfo:FileInfoClass:4" class="instance expander" onclick="toggleSection('i:id:FileInfo:FileInfoClass:4')"></span> <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></span> <a href="src/System-GIO-Types.html#line-786" class="link">Source</a> <a href="#t:FileInfo" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileInfo:FileInfoClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a id="t:FileInfoClass" class="def">FileInfoClass</a> o <a href="src/System-GIO-Types.html#FileInfoClass" class="link">Source</a> <a href="#t:FileInfoClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:FileInfoClass" class="caption collapser" onclick="toggleSection('i:FileInfoClass')">Instances</p><div id="section.i:FileInfoClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FileInfoClass:FileInfoClass:1" class="instance expander" onclick="toggleSection('i:ic:FileInfoClass:FileInfoClass:1')"></span> <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> <a href="System-GIO-File-AppInfo.html#t:AppLaunchContext">AppLaunchContext</a></span> <a href="src/System-GIO-Types.html#line-810" class="link">Source</a> <a href="#t:FileInfoClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:FileInfoClass:FileInfoClass:1" class="inst-details hide"></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:FileInfoClass:FileInfoClass:2" class="instance expander" onclick="toggleSection('i:ic:FileInfoClass:FileInfoClass:2')"></span> <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></span> <a href="src/System-GIO-Types.html#line-786" class="link">Source</a> <a href="#t:FileInfoClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:FileInfoClass:FileInfoClass:2" class="inst-details hide"></div></td></tr></table></div></div></div><h1 id="g:3">Enums,</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:FileAttributeStatus" class="def">FileAttributeStatus</a> <a href="src/System-GIO-Enums.html#FileAttributeStatus" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></p><div class="doc"><p>Used by <code>fileSetAttributesFromInfo</code> when setting file attributes.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:FileAttributeStatusUnset" class="def">FileAttributeStatusUnset</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:FileAttributeStatusSet" class="def">FileAttributeStatusSet</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a id="v:FileAttributeStatusErrorSetting" class="def">FileAttributeStatusErrorSetting</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:FileAttributeStatus" class="caption collapser" onclick="toggleSection('i:FileAttributeStatus')">Instances</p><div id="section.i:FileAttributeStatus" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileAttributeStatus:Bounded:1" class="instance expander" onclick="toggleSection('i:id:FileAttributeStatus:Bounded:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Bounded">Bounded</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></span> <a href="src/System-GIO-Enums.html#line-100" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileAttributeStatus:Bounded:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:minBound">minBound</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:minBound" class="selflink">#</a></p><p class="src"><a href="#v:maxBound">maxBound</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:maxBound" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileAttributeStatus:Enum:2" class="instance expander" onclick="toggleSection('i:id:FileAttributeStatus:Enum:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></span> <a href="src/System-GIO-Enums.html#line-101" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileAttributeStatus:Enum:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; [<a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; [<a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; [<a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; [<a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileAttributeStatus:Eq:3" class="instance expander" onclick="toggleSection('i:id:FileAttributeStatus:Eq:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></span> <a href="src/System-GIO-Enums.html#line-100" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileAttributeStatus:Eq:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileAttributeStatus:Ord:4" class="instance expander" onclick="toggleSection('i:id:FileAttributeStatus:Ord:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></span> <a href="src/System-GIO-Enums.html#line-100" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileAttributeStatus:Ord:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:FileAttributeStatus:Show:5" class="instance expander" onclick="toggleSection('i:id:FileAttributeStatus:Show:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></span> <a href="src/System-GIO-Enums.html#line-100" class="link">Source</a> <a href="#t:FileAttributeStatus" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:FileAttributeStatus:Show:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a>] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><h1 id="g:4">Methods</h1><div class="top"><p class="src"><a id="v:fileInfoNew" class="def">fileInfoNew</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoNew" class="link">Source</a> <a href="#v:fileInfoNew" class="selflink">#</a></p><div class="doc"><p>Creates a new file info structure.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoDup" class="def">fileInfoDup</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoDup" class="link">Source</a> <a href="#v:fileInfoDup" class="selflink">#</a></p><div class="doc"><p>Duplicates a file info structure.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoCopyInto" class="def">fileInfoCopyInto</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoCopyInto" class="link">Source</a> <a href="#v:fileInfoCopyInto" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> srcInfo, <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> destInfo)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; srcInfo</td><td class="doc"><p><code>srcInfo</code> source to copy attributes from.</p></td></tr><tr><td class="src">-&gt; destInfo</td><td class="doc"><p><code>destInfo</code> destination to copy attributes to.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Copies all of the <code>FileAttributes</code> from <code>srcInfo</code> to <code>destInfo</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoHasAttribute" class="def">fileInfoHasAttribute</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoHasAttribute" class="link">Source</a> <a href="#v:fileInfoHasAttribute" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if Ginfo has an attribute named attribute, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if a file info structure has an attribute named attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoHasNamespace" class="def">fileInfoHasNamespace</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoHasNamespace" class="link">Source</a> <a href="#v:fileInfoHasNamespace" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>namespace</code> a file namespace key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if Ginfo has an namespace named namespace, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if a file info structure has an attribute in the specified <code>nameSpace</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoListAttributes" class="def">fileInfoListAttributes</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoListAttributes" class="link">Source</a> <a href="#v:fileInfoListAttributes" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>nameSpace</code> a file attribute key's namespace.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [string]</td><td class="doc"><p>returns a array of strings of all of the possible attribute types for the given <code>nameSpace</code></p></td></tr></table></div><div class="doc"><p>Lists the file info structure's attributes.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeType" class="def">fileInfoGetAttributeType</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeType" class="link">Source</a> <a href="#v:fileInfoGetAttributeType" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileAttribute.html#t:FileAttributeType">FileAttributeType</a></td><td class="doc"><p>returns a <code><a href="System-GIO-File-FileAttribute.html#t:FileAttributeType">FileAttributeType</a></code> for the given attribute, or <code><a href="System-GIO-File-FileAttribute.html#v:FileAttributeTypeInvalid">FileAttributeTypeInvalid</a></code> if the key is not set.</p></td></tr></table></div><div class="doc"><p>Gets the attribute type for an attribute key.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoRemoveAttribute" class="def">fileInfoRemoveAttribute</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoRemoveAttribute" class="link">Source</a> <a href="#v:fileInfoRemoveAttribute" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Removes all cases of attribute from info if it exists.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeAsString" class="def">fileInfoGetAttributeAsString</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeAsString" class="link">Source</a> <a href="#v:fileInfoGetAttributeAsString" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string</td><td class="doc"><p>returns a UTF-8 string associated with the given attribute.</p></td></tr></table></div><div class="doc"><p>Gets the value of a attribute, formated as a string. This escapes things as needed to make the
 string valid utf8.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeStatus" class="def">fileInfoGetAttributeStatus</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeStatus" class="link">Source</a> <a href="#v:fileInfoGetAttributeStatus" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></td><td class="doc"><p>returns a <code><a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></code> for the given attribute, or <code><a href="System-GIO-File-FileInfo.html#v:FileAttributeStatusUnset">FileAttributeStatusUnset</a></code> if the key is invalid.</p></td></tr></table></div><div class="doc"><p>Gets the attribute status for an attribute key.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeString" class="def">fileInfoGetAttributeString</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeString" class="link">Source</a> <a href="#v:fileInfoGetAttributeString" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> string</td><td class="doc"><p>returns the contents of the attribute value as a string</p></td></tr></table></div><div class="doc"><p>Gets the value of a string attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeStringList" class="def">fileInfoGetAttributeStringList</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeStringList" class="link">Source</a> <a href="#v:fileInfoGetAttributeStringList" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> [string]</td><td class="doc"><p>returns the contents of the attribute value as a string list</p></td></tr></table></div><div class="doc"><p>Gets the value of a stringv attribute. If the attribute does not contain a stringv</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeByteString" class="def">fileInfoGetAttributeByteString</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeByteString" class="link">Source</a> <a href="#v:fileInfoGetAttributeByteString" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>returns the contents of the attribute value as a ByteString</p></td></tr></table></div><div class="doc"><p>Gets the value of a byte string attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeBool" class="def">fileInfoGetAttributeBool</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeBool" class="link">Source</a> <a href="#v:fileInfoGetAttributeBool" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns the contents of the attribute value as a bool</p></td></tr></table></div><div class="doc"><p>Gets the value of a boolean attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeWord32" class="def">fileInfoGetAttributeWord32</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeWord32" class="link">Source</a> <a href="#v:fileInfoGetAttributeWord32" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word32">Word32</a></td><td class="doc"><p>returns the contents of the attribute value as a bool</p></td></tr></table></div><div class="doc"><p>Gets an Word32 contained within the attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeInt32" class="def">fileInfoGetAttributeInt32</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeInt32" class="link">Source</a> <a href="#v:fileInfoGetAttributeInt32" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int32">Int32</a></td><td class="doc"><p>returns the contents of the attribute value as a bool</p></td></tr></table></div><div class="doc"><p>Gets an Int32 contained within the attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeWord64" class="def">fileInfoGetAttributeWord64</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeWord64" class="link">Source</a> <a href="#v:fileInfoGetAttributeWord64" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word64">Word64</a></td><td class="doc"><p>returns the contents of the attribute value as a bool</p></td></tr></table></div><div class="doc"><p>Gets an Word64 contained within the attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeInt64" class="def">fileInfoGetAttributeInt64</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeInt64" class="link">Source</a> <a href="#v:fileInfoGetAttributeInt64" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></td><td class="doc"><p>returns the contents of the attribute value as a bool</p></td></tr></table></div><div class="doc"><p>Gets an Int64 contained within the attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetAttributeObject" class="def">fileInfoGetAttributeObject</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetAttributeObject" class="link">Source</a> <a href="#v:fileInfoGetAttributeObject" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a>)</td><td class="doc"><p>returns the contents of the attribute value as a object</p></td></tr></table></div><div class="doc"><p>Gets the value of a GObject attribute.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeStatus" class="def">fileInfoSetAttributeStatus</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeStatus" class="link">Source</a> <a href="#v:fileInfoSetAttributeStatus" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key</p></td></tr><tr><td class="src">-&gt; <a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></td><td class="doc"><p><code>status</code> a <code><a href="System-GIO-File-FileInfo.html#t:FileAttributeStatus">FileAttributeStatus</a></code></p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if the status was changed, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> if the key was not set.</p></td></tr></table></div><div class="doc"><p>Sets the attribute status for an attribute key. This is only needed by external code that implement
 <code>fileSetAttributesFromInfo</code> or similar functions.</p><p>The attribute must exist in info for this to work. Otherwise <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> is returned and info is
 unchanged.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeString" class="def">fileInfoSetAttributeString</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeString" class="link">Source</a> <a href="#v:fileInfoSetAttributeString" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attrValue</code> a string.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeStringList" class="def">fileInfoSetAttributeStringList</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeStringList" class="link">Source</a> <a href="#v:fileInfoSetAttributeStringList" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; [string]</td><td class="doc"><p><code>attrValue</code> a string.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeByteString" class="def">fileInfoSetAttributeByteString</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeByteString" class="link">Source</a> <a href="#v:fileInfoSetAttributeByteString" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p><code>attrValue</code> a string.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeBool" class="def">fileInfoSetAttributeBool</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeBool" class="link">Source</a> <a href="#v:fileInfoSetAttributeBool" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>attrValue</code> a string.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeWord32" class="def">fileInfoSetAttributeWord32</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeWord32" class="link">Source</a> <a href="#v:fileInfoSetAttributeWord32" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word32">Word32</a></td><td class="doc"><p><code>attrValue</code> an Word32</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeInt32" class="def">fileInfoSetAttributeInt32</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeInt32" class="link">Source</a> <a href="#v:fileInfoSetAttributeInt32" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int32">Int32</a></td><td class="doc"><p><code>attrValue</code> an Int32</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeWord64" class="def">fileInfoSetAttributeWord64</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeWord64" class="link">Source</a> <a href="#v:fileInfoSetAttributeWord64" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Word.html#t:Word64">Word64</a></td><td class="doc"><p><code>attrValue</code> an Word64</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeInt64" class="def">fileInfoSetAttributeInt64</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeInt64" class="link">Source</a> <a href="#v:fileInfoSetAttributeInt64" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>attribute</code> a file attribute key.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></td><td class="doc"><p><code>attrValue</code> an Int64</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetAttributeObject" class="def">fileInfoSetAttributeObject</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetAttributeObject" class="link">Source</a> <a href="#v:fileInfoSetAttributeObject" class="selflink">#</a></p><div class="doc"><p>Sets the attribute to contain the given <code>attrValue</code>, if possible.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoClearStatus" class="def">fileInfoClearStatus</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoClearStatus" class="link">Source</a> <a href="#v:fileInfoClearStatus" class="selflink">#</a></p><div class="doc"><p>Clears the status information from info.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetFileType" class="def">fileInfoGetFileType</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetFileType" class="link">Source</a> <a href="#v:fileInfoGetFileType" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="System-GIO-Enums.html#t:FileType">FileType</a></td><td class="doc"><p>returns a <code><a href="System-GIO-Enums.html#t:FileType">FileType</a></code> for the given file.</p></td></tr></table></div><div class="doc"><p>Gets a file's type (whether it is a regular file, symlink, etc). This is different from the file's
 content type, see <code><a href="System-GIO-File-FileInfo.html#v:fileInfoGetContentType">fileInfoGetContentType</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetIsHidden" class="def">fileInfoGetIsHidden</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetIsHidden" class="link">Source</a> <a href="#v:fileInfoGetIsHidden" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if the file is a hidden file, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if a file is hidden.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetIsBackup" class="def">fileInfoGetIsBackup</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetIsBackup" class="link">Source</a> <a href="#v:fileInfoGetIsBackup" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if the file is a backup file, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if a file is a backup file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetIsSymlink" class="def">fileInfoGetIsSymlink</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetIsSymlink" class="link">Source</a> <a href="#v:fileInfoGetIsSymlink" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:True">True</a></code> if the file is a symlink file, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></td></tr></table></div><div class="doc"><p>Checks if a file is a symlink file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetName" class="def">fileInfoGetName</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetName" class="link">Source</a> <a href="#v:fileInfoGetName" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a></td><td class="doc"><p>returns a string containing the file name.</p></td></tr></table></div><div class="doc"><p>Gets the name for a file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetDisplayName" class="def">fileInfoGetDisplayName</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetDisplayName" class="link">Source</a> <a href="#v:fileInfoGetDisplayName" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing the display name.</p></td></tr></table></div><div class="doc"><p>Gets the display name for a file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetEditName" class="def">fileInfoGetEditName</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetEditName" class="link">Source</a> <a href="#v:fileInfoGetEditName" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing the edit name.</p></td></tr></table></div><div class="doc"><p>Gets the edit name for a file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetIcon" class="def">fileInfoGetIcon</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetIcon" class="link">Source</a> <a href="#v:fileInfoGetIcon" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a></td><td class="doc"><p>returns <code><a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a></code> for the given info.</p></td></tr></table></div><div class="doc"><p>Gets the icon for a file.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetContentType" class="def">fileInfoGetContentType</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetContentType" class="link">Source</a> <a href="#v:fileInfoGetContentType" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing the file's content type.</p></td></tr></table></div><div class="doc"><p>Gets the file's content type.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetModificationTime" class="def">fileInfoGetModificationTime</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetModificationTime" class="link">Source</a> <a href="#v:fileInfoGetModificationTime" class="selflink">#</a></p><div class="doc"><p>Gets the modification time of the current info and sets it in result.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetSize" class="def">fileInfoGetSize</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetSize" class="link">Source</a> <a href="#v:fileInfoGetSize" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></td><td class="doc"><p>returns a <code>Offset</code> containing the file's size.</p></td></tr></table></div><div class="doc"><p>Gets the file's size.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetSymlinkTarget" class="def">fileInfoGetSymlinkTarget</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetSymlinkTarget" class="link">Source</a> <a href="#v:fileInfoGetSymlinkTarget" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing the symlink target.</p></td></tr></table></div><div class="doc"><p>Gets the symlink target for a given <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetEtag" class="def">fileInfoGetEtag</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetEtag" class="link">Source</a> <a href="#v:fileInfoGetEtag" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p>returns a string containing the value of the &quot;etag:value&quot; attribute.</p></td></tr></table></div><div class="doc"><p>Gets the entity tag for a given <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeEtagValue</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoGetSortOrder" class="def">fileInfoGetSortOrder</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoGetSortOrder" class="link">Source</a> <a href="#v:fileInfoGetSortOrder" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns the value of the &quot;standard::sort_order&quot; attribute.</p></td></tr></table></div><div class="doc"><p>Gets the value of the <code>sortOrder</code> attribute from the <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See
 <code>FileAttributeStandardSortOrder</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoUnsetAttributeMask" class="def">fileInfoUnsetAttributeMask</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoUnsetAttributeMask" class="link">Source</a> <a href="#v:fileInfoUnsetAttributeMask" class="selflink">#</a></p><div class="doc"><p>Unsets a mask set by <code>fileInfoSetAttributeMask</code>, if one is set.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetFileType" class="def">fileInfoSetFileType</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="System-GIO-Enums.html#t:FileType">FileType</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetFileType" class="link">Source</a> <a href="#v:fileInfoSetFileType" class="selflink">#</a></p><div class="doc"><p>Sets the file type in a <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> to type. See <code>FileAttributeStandardType</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetIsHidden" class="def">fileInfoSetIsHidden</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetIsHidden" class="link">Source</a> <a href="#v:fileInfoSetIsHidden" class="selflink">#</a></p><div class="doc"><p>Sets the <code>isHidden</code> attribute in a <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> according to <code>isSymlink</code>. See
 <code>FileAttributeStandardIsHidden</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetIsSymlink" class="def">fileInfoSetIsSymlink</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetIsSymlink" class="link">Source</a> <a href="#v:fileInfoSetIsSymlink" class="selflink">#</a></p><div class="doc"><p>Sets the <code>isSymlink</code> attribute in a <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code> according to <code>isSymlink</code>. See
 <code>FileAttributeStandardIsSymlink</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetName" class="def">fileInfoSetName</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/bytestring-0.10.8.1/Data-ByteString.html#t:ByteString">ByteString</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetName" class="link">Source</a> <a href="#v:fileInfoSetName" class="selflink">#</a></p><div class="doc"><p>Sets the name attribute for the current <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeStandardName</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetDisplayName" class="def">fileInfoSetDisplayName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetDisplayName" class="link">Source</a> <a href="#v:fileInfoSetDisplayName" class="selflink">#</a></p><div class="doc"><p>Sets the display name for the current <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeStandardDisplayName</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetEditName" class="def">fileInfoSetEditName</a> :: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; info -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetEditName" class="link">Source</a> <a href="#v:fileInfoSetEditName" class="selflink">#</a></p><div class="doc"><p>Sets the edit name for the current <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeStandardEditName</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetIcon" class="def">fileInfoSetIcon</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="System-GIO-Icons-Icon.html#t:Icon">Icon</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetIcon" class="link">Source</a> <a href="#v:fileInfoSetIcon" class="selflink">#</a></p><div class="doc"><p>Sets the icon for a given <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeStandardIcon</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetContentType" class="def">fileInfoSetContentType</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetContentType" class="link">Source</a> <a href="#v:fileInfoSetContentType" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>contentType</code> a content type. See GContentType.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the content type attribute for a given <code><a href="System-GIO-File-FileInfo.html#t:FileInfo">FileInfo</a></code>. See <code>FileAttributeStandardContentType</code>.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetModificationTime" class="def">fileInfoSetModificationTime</a> :: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info =&gt; info -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GDateTime.html#t:GTimeVal">GTimeVal</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/System-GIO-File-FileInfo.html#fileInfoSetModificationTime" class="link">Source</a> <a href="#v:fileInfoSetModificationTime" class="selflink">#</a></p><div class="doc"><p>Sets the <code>FileAttributeTimeModified</code> attribute in the file info to the given time value.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetSize" class="def">fileInfoSetSize</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetSize" class="link">Source</a> <a href="#v:fileInfoSetSize" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int64">Int64</a></td><td class="doc"><p><code>size</code> a goffset containing the file's size.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the <code>FileAttributeStandardSize</code> attribute in the file info to the given size.</p></div></div><div class="top"><p class="src"><a id="v:fileInfoSetSortOrder" class="def">fileInfoSetSortOrder</a> <a href="src/System-GIO-File-FileInfo.html#fileInfoSetSortOrder" class="link">Source</a> <a href="#v:fileInfoSetSortOrder" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="System-GIO-File-FileInfo.html#t:FileInfoClass">FileInfoClass</a> info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; info</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>sortOrder</code> a sort order integer.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the <code>FileAttributeStandardSymlinkTarget</code> attribute in the file info to the given symlink
 target.
 fileInfoSetSymlinkTarget :: FileInfoClass info =&gt; info
 -&gt; String -- ^ <code>symlinkTarget</code> a static string containing a path to a symlink target.
 -&gt; IO ()
 fileInfoSetSymlinkTarget info symlinkTarget =
 withUTFString symlinkTarget $  symlinkTargetPtr -&gt;
 {<a id="call g_file_info_set_symlink_target"></a>} (toFileInfo info) symlinkTargetPtr</p><p>Sets the sort order attribute in the file info structure. See <code>FileAttributeStandardSortOrder</code>.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>