         takeGObject
     where _ = {# call file_query_info #}
 
--- | Asynchronously gets the requested information about specified file. The result is a GFileInfo object
--- that contains key-value attributes (such as type or size for the file).
--- 
--- For more details, see 'fileQueryInfo' which is the synchronous version of this call.
--- 
+-- | Asynchronously gets the requested information about specified file. The
+-- result is a 'GFileInfo' object that contains key-value attributes (such as
+-- type or size for the file).
+--  
+-- For more details, see 'fileQueryInfo' which is the synchronous version of
+-- this call.
+--  
 -- When the operation is finished, callback will be called. You can then call
 -- 'fileQueryInfoFinish' to get the result of the operation.
 fileQueryInfoAsync :: FileClass file

fileReplaceFinish file asyncResult =
    propagateGError ({# call file_replace_finish #} (toFile file) asyncResult) >>= takeGObject

-- | Gets the requested information about specified file. The result is a GFileInfo object that contains
-- key-value attributes (such as the type or size of the file).
-- 
-- The attribute value is a string that specifies the file attributes that should be gathered. It is
-- not an error if it's not possible to read a particular requested attribute from a file - it just
-- won't be set. attribute should be a comma-separated list of attribute or attribute wildcards. The
-- wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the
-- standard namespace. An example attribute query be "standard::*,'user'". The standard attributes
-- are available as defines, like GFileAttributeStandardName.
-- 
-- If cancellable is not 'Nothing', then the operation can be cancelled by triggering the cancellable object
-- from another thread. If the operation was cancelled, the error GIoErrorCancelled will be
-- returned.
-- 
-- For symlinks, normally the information about the target of the symlink is returned, rather than
-- information about the symlink itself. However if you pass GFileQueryInfoNofollowSymlinks in
-- flags the information about the symlink itself will be returned. Also, for symlinks that point to
-- non-existing files the information about the symlink itself will be returned.
-- 
-- If the file does not exist, the GIoErrorNotFound error will be returned. Other errors are
-- possible too, and depend on what kind of filesystem the file is on.
fileQueryInfo :: FileClass file
              => file


-- | Checks to see if a file is native to the platform.
-- 
-- A native file s one expressed in the platform-native filename format, e.g. \"C:\\Windows\" or
-- \"/usr/bin/\". This does not mean the file is local, as it might be on a locally mounted remote
-- filesystem.
-- 
-- On some systems non-native files may be available using the native filesystem via a userspace
-- filesystem (FUSE), in these cases this call will return @False@, but 'fileGetPath' will still
-- return a native path.
-- 
-- This call does no blocking i/o.
