Gtk2HsContentsIndex
System.GIO.File
Maintainergtk2hs-devel@lists.sourceforge.net Stability : alpha Portability : portable (depends on GHC)
Description
Synopsis
newtype File = File (ForeignPtr File)
class GObjectClass o => FileClass o
data FileQueryInfoFlags
= FileQueryInfoNone
| FileQueryInfoNofollowSymlinks
data FileCreateFlags
= FileCreateNone
| FileCreatePrivate
| FileCreateReplaceDestination
data FileCopyFlags
= FileCopyNone
| FileCopyOverwrite
| FileCopyBackup
| FileCopyNofollowSymlinks
| FileCopyAllMetadata
| FileCopyNoFallbackForMove
| FileCopyTargetDefaultPerms
data FileMonitorFlags
= FileMonitorNone
| FileMonitorWatchMounts
| FileMonitorSendMoved
data FilesystemPreviewType
= FilesystemPreviewTypeIfAlways
| FilesystemPreviewTypeIfLocal
| FilesystemPreviewTypeNever
type FileProgressCallback = Offset -> Offset -> IO ()
type FileReadMoreCallback = ByteString -> IO Bool
fileFromPath :: FilePath -> File
fileFromURI :: String -> File
fileFromCommandlineArg :: String -> File
fileFromParseName :: String -> File
fileEqual :: (FileClass file1, FileClass file2) => file1 -> file2 -> Bool
fileBasename :: FileClass file => file -> String
filePath :: FileClass file => file -> FilePath
fileURI :: FileClass file => file -> String
fileParseName :: FileClass file => file -> String
fileGetChild :: FileClass file => file -> String -> File
fileGetChildForDisplayName :: FileClass file => file -> String -> Maybe File
fileHasPrefix :: (FileClass file1, FileClass file2) => file1 -> file2 -> Bool
fileGetRelativePath :: (FileClass file1, FileClass file2) => file1 -> file2 -> Maybe FilePath
fileResolveRelativePath :: FileClass file => file -> FilePath -> Maybe File
fileIsNative :: FileClass file => file -> Bool
fileHasURIScheme :: FileClass file => file -> String -> Bool
fileURIScheme :: FileClass file => file -> String
fileRead :: FileClass file => file -> Maybe Cancellable -> IO FileInputStream
fileReadAsync :: FileClass file => file -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileReadFinish :: FileClass file => file -> AsyncResult -> IO FileInputStream
fileAppendTo :: FileClass file => file -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileCreate :: FileClass file => file -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileReplace :: FileClass file => file -> Maybe String -> Bool -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileAppendToAsync :: FileClass file => file -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileAppendToFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileCreateAsync :: FileClass file => file -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileCreateFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileReplaceAsync :: FileClass file => file -> String -> Bool -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileReplaceFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileQueryInfo :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Maybe Cancellable -> IO FileInfo
fileQueryInfoAsync :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileQueryInfoFinish :: FileClass file => file -> AsyncResult -> IO FileInfo
fileQueryExists :: FileClass file => file -> Maybe Cancellable -> IO Bool
fileQueryFilesystemInfo :: FileClass file => file -> String -> Maybe Cancellable -> IO FileInfo
fileQueryFilesystemInfoAsync :: FileClass file => file -> String -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileQueryFilesystemInfoFinish :: FileClass file => file -> AsyncResult -> IO FileInfo
fileQueryDefaultHandler :: FileClass file => file -> Maybe Cancellable -> IO AppInfo
fileFindEnclosingMount :: FileClass file => file -> Maybe Cancellable -> IO Mount
fileFindEnclosingMountAsync :: FileClass file => file -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileFindEnclosingMountFinish :: FileClass file => file -> AsyncResult -> IO Mount
fileEnumerateChildren :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Maybe Cancellable -> IO FileEnumerator
fileEnumerateChildrenAsync :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileEnumerateChildrenFinish :: FileClass file => file -> AsyncResult -> IO FileEnumerator
fileSetDisplayName :: FileClass file => file -> String -> Maybe Cancellable -> IO File
fileSetDisplayNameAsync :: FileClass file => file -> String -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileSetDisplayNameFinish :: FileClass file => file -> AsyncResult -> IO File
fileDelete :: FileClass file => file -> Maybe Cancellable -> IO ()
fileTrash :: FileClass file => file -> Maybe Cancellable -> IO ()
fileCopy :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Maybe Cancellable -> Maybe FileProgressCallback -> IO Bool
fileCopyAsync :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Int -> Maybe Cancellable -> Maybe FileProgressCallback -> AsyncReadyCallback -> IO ()
fileCopyFinish :: FileClass file => file -> AsyncResult -> IO Bool
fileMove :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Maybe Cancellable -> Maybe FileProgressCallback -> IO Bool
fileMakeDirectory :: FileClass file => file -> Maybe Cancellable -> IO ()
fileMakeDirectoryWithParents :: FileClass file => file -> Maybe Cancellable -> IO ()
fileMakeSymbolicLink :: FileClass file => file -> String -> Maybe Cancellable -> IO ()
fileQuerySettableAttributes :: FileClass file => file -> Maybe Cancellable -> IO [FileAttributeInfo]
fileQueryWritableNamespaces :: FileClass file => file -> Maybe Cancellable -> IO [FileAttributeInfo]
Documentation
newtype File
Constructors
File (ForeignPtr File)
class GObjectClass o => FileClass o
data FileQueryInfoFlags
Constructors
FileQueryInfoNone
FileQueryInfoNofollowSymlinks
data FileCreateFlags
Constructors
FileCreateNone
FileCreatePrivate
FileCreateReplaceDestination
data FileCopyFlags
Constructors
FileCopyNone
FileCopyOverwrite
FileCopyBackup
FileCopyNofollowSymlinks
FileCopyAllMetadata
FileCopyNoFallbackForMove
FileCopyTargetDefaultPerms
data FileMonitorFlags
Constructors
FileMonitorNone
FileMonitorWatchMounts
FileMonitorSendMoved
data FilesystemPreviewType
Constructors
FilesystemPreviewTypeIfAlways
FilesystemPreviewTypeIfLocal
FilesystemPreviewTypeNever
type FileProgressCallback = Offset -> Offset -> IO ()
type FileReadMoreCallback = ByteString -> IO Bool
fileFromPath :: FilePath -> File
fileFromURI :: String -> File
fileFromCommandlineArg :: String -> File
fileFromParseName :: String -> File
fileEqual :: (FileClass file1, FileClass file2) => file1 -> file2 -> Bool
Compare two file descriptors for equality. This test is also used to implement the '(==)' function, that is, comparing two descriptions will compare their content, not the pointers to the two structures.
fileBasename :: FileClass file => file -> String
filePath :: FileClass file => file -> FilePath
fileURI :: FileClass file => file -> String
fileParseName :: FileClass file => file -> String
fileGetChild :: FileClass file => file -> String -> File
fileGetChildForDisplayName :: FileClass file => file -> String -> Maybe File
fileHasPrefix :: (FileClass file1, FileClass file2) => file1 -> file2 -> Bool
fileGetRelativePath :: (FileClass file1, FileClass file2) => file1 -> file2 -> Maybe FilePath
fileResolveRelativePath :: FileClass file => file -> FilePath -> Maybe File
fileIsNative :: FileClass file => file -> Bool
fileHasURIScheme :: FileClass file => file -> String -> Bool
fileURIScheme :: FileClass file => file -> String
fileRead :: FileClass file => file -> Maybe Cancellable -> IO FileInputStream
fileReadAsync :: FileClass file => file -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileReadFinish :: FileClass file => file -> AsyncResult -> IO FileInputStream
fileAppendTo :: FileClass file => file -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileCreate :: FileClass file => file -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileReplace :: FileClass file => file -> Maybe String -> Bool -> [FileCreateFlags] -> Maybe Cancellable -> IO FileOutputStream
fileAppendToAsync :: FileClass file => file -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileAppendToFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileCreateAsync :: FileClass file => file -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileCreateFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileReplaceAsync :: FileClass file => file -> String -> Bool -> [FileCreateFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileReplaceFinish :: FileClass file => file -> AsyncResult -> IO FileOutputStream
fileQueryInfo :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Maybe Cancellable -> IO FileInfo
fileQueryInfoAsync :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileQueryInfoFinish :: FileClass file => file -> AsyncResult -> IO FileInfo
fileQueryExists :: FileClass file => file -> Maybe Cancellable -> IO Bool
fileQueryFilesystemInfo :: FileClass file => file -> String -> Maybe Cancellable -> IO FileInfo
fileQueryFilesystemInfoAsync :: FileClass file => file -> String -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileQueryFilesystemInfoFinish :: FileClass file => file -> AsyncResult -> IO FileInfo
fileQueryDefaultHandler :: FileClass file => file -> Maybe Cancellable -> IO AppInfo
fileFindEnclosingMount :: FileClass file => file -> Maybe Cancellable -> IO Mount
fileFindEnclosingMountAsync :: FileClass file => file -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileFindEnclosingMountFinish :: FileClass file => file -> AsyncResult -> IO Mount
fileEnumerateChildren :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Maybe Cancellable -> IO FileEnumerator
fileEnumerateChildrenAsync :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileEnumerateChildrenFinish :: FileClass file => file -> AsyncResult -> IO FileEnumerator
fileSetDisplayName :: FileClass file => file -> String -> Maybe Cancellable -> IO File
fileSetDisplayNameAsync :: FileClass file => file -> String -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()
fileSetDisplayNameFinish :: FileClass file => file -> AsyncResult -> IO File
fileDelete :: FileClass file => file -> Maybe Cancellable -> IO ()
fileTrash :: FileClass file => file -> Maybe Cancellable -> IO ()
fileCopy :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Maybe Cancellable -> Maybe FileProgressCallback -> IO Bool
fileCopyAsync :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Int -> Maybe Cancellable -> Maybe FileProgressCallback -> AsyncReadyCallback -> IO ()
fileCopyFinish :: FileClass file => file -> AsyncResult -> IO Bool
fileMove :: (FileClass source, FileClass destination) => source -> destination -> [FileCopyFlags] -> Maybe Cancellable -> Maybe FileProgressCallback -> IO Bool
fileMakeDirectory :: FileClass file => file -> Maybe Cancellable -> IO ()
fileMakeDirectoryWithParents :: FileClass file => file -> Maybe Cancellable -> IO ()
fileMakeSymbolicLink :: FileClass file => file -> String -> Maybe Cancellable -> IO ()
fileQuerySettableAttributes :: FileClass file => file -> Maybe Cancellable -> IO [FileAttributeInfo]
fileQueryWritableNamespaces :: FileClass file => file -> Maybe Cancellable -> IO [FileAttributeInfo]
Produced by Haddock version 2.6.0