gi-gio-0.2.46.15: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.File

Contents

Description

 

Synopsis

Exported types

newtype File Source

Constructors

File (ForeignPtr File) 

Instances

GObject File 
((~) * info (ResolveFileMethod t File), MethodInfo * info File p) => IsLabelProxy t (File -> p) 
type ParentTypes File 
type AttributeList File 
type SignalList File 

class GObject o => FileK o Source

Instances

toFile :: FileK o => o -> IO File Source

Methods

fileAppendTo

data FileAppendToMethodInfo Source

Instances

((~) * signature ([FileCreateFlags] -> Maybe b -> m FileOutputStream), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileAppendToMethodInfo a signature 

fileAppendToAsync

fileAppendToFinish

data FileAppendToFinishMethodInfo Source

Instances

((~) * signature (b -> m FileOutputStream), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileAppendToFinishMethodInfo a signature 

fileCopy

data FileCopyMethodInfo Source

Instances

((~) * signature (b -> [FileCopyFlags] -> Maybe c -> Maybe FileProgressCallback -> m ()), MonadIO m, FileK a, FileK b, CancellableK c) => MethodInfo * FileCopyMethodInfo a signature 

fileCopyAttributes

data FileCopyAttributesMethodInfo Source

Instances

((~) * signature (b -> [FileCopyFlags] -> Maybe c -> m ()), MonadIO m, FileK a, FileK b, CancellableK c) => MethodInfo * FileCopyAttributesMethodInfo a signature 

fileCopyAttributes :: (MonadIO m, FileK a, FileK b, CancellableK c) => a -> b -> [FileCopyFlags] -> Maybe c -> m () Source

fileCopyFinish

data FileCopyFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileCopyFinishMethodInfo a signature 

fileCopyFinish :: (MonadIO m, FileK a, AsyncResultK b) => a -> b -> m () Source

fileCreate

data FileCreateMethodInfo Source

Instances

((~) * signature ([FileCreateFlags] -> Maybe b -> m FileOutputStream), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileCreateMethodInfo a signature 

fileCreateAsync

data FileCreateAsyncMethodInfo Source

Instances

((~) * signature ([FileCreateFlags] -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileCreateAsyncMethodInfo a signature 

fileCreateFinish

data FileCreateFinishMethodInfo Source

Instances

((~) * signature (b -> m FileOutputStream), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileCreateFinishMethodInfo a signature 

fileCreateReadwrite

fileCreateReadwriteAsync

fileCreateReadwriteFinish

fileDelete

data FileDeleteMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileDeleteMethodInfo a signature 

fileDelete :: (MonadIO m, FileK a, CancellableK b) => a -> Maybe b -> m () Source

fileDeleteAsync

data FileDeleteAsyncMethodInfo Source

Instances

((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileDeleteAsyncMethodInfo a signature 

fileDeleteFinish

data FileDeleteFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileDeleteFinishMethodInfo a signature 

fileDeleteFinish :: (MonadIO m, FileK a, AsyncResultK b) => a -> b -> m () Source

fileDup

data FileDupMethodInfo Source

Instances

((~) * signature (m File), MonadIO m, FileK a) => MethodInfo * FileDupMethodInfo a signature 

fileDup :: (MonadIO m, FileK a) => a -> m File Source

fileEjectMountable

fileEjectMountable :: (MonadIO m, FileK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source

Deprecated: (Since version 2.22)Use g_file_eject_mountable_with_operation() instead.

fileEjectMountableFinish

data FileEjectMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileEjectMountableFinishMethodInfo a signature 

fileEjectMountableFinish :: (MonadIO m, FileK a, AsyncResultK b) => a -> b -> m () Source

Deprecated: (Since version 2.22)Use g_file_eject_mountable_with_operation_finish() instead.

fileEjectMountableWithOperation

fileEjectMountableWithOperationFinish

fileEnumerateChildren

fileEnumerateChildrenAsync

fileEnumerateChildrenFinish

fileEqual

data FileEqualMethodInfo Source

Instances

((~) * signature (b -> m Bool), MonadIO m, FileK a, FileK b) => MethodInfo * FileEqualMethodInfo a signature 

fileEqual :: (MonadIO m, FileK a, FileK b) => a -> b -> m Bool Source

fileFindEnclosingMount

data FileFindEnclosingMountMethodInfo Source

Instances

((~) * signature (Maybe b -> m Mount), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileFindEnclosingMountMethodInfo a signature 

fileFindEnclosingMountAsync

fileFindEnclosingMountFinish

fileGetBasename

data FileGetBasenameMethodInfo Source

Instances

((~) * signature (m (Maybe Text)), MonadIO m, FileK a) => MethodInfo * FileGetBasenameMethodInfo a signature 

fileGetChild

data FileGetChildMethodInfo Source

Instances

((~) * signature (Text -> m File), MonadIO m, FileK a) => MethodInfo * FileGetChildMethodInfo a signature 

fileGetChild :: (MonadIO m, FileK a) => a -> Text -> m File Source

fileGetChildForDisplayName

fileGetParent

data FileGetParentMethodInfo Source

Instances

((~) * signature (m (Maybe File)), MonadIO m, FileK a) => MethodInfo * FileGetParentMethodInfo a signature 

fileGetParent :: (MonadIO m, FileK a) => a -> m (Maybe File) Source

fileGetParseName

data FileGetParseNameMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, FileK a) => MethodInfo * FileGetParseNameMethodInfo a signature 

fileGetPath

data FileGetPathMethodInfo Source

Instances

((~) * signature (m (Maybe Text)), MonadIO m, FileK a) => MethodInfo * FileGetPathMethodInfo a signature 

fileGetPath :: (MonadIO m, FileK a) => a -> m (Maybe Text) Source

fileGetRelativePath

data FileGetRelativePathMethodInfo Source

Instances

((~) * signature (b -> m (Maybe Text)), MonadIO m, FileK a, FileK b) => MethodInfo * FileGetRelativePathMethodInfo a signature 

fileGetRelativePath :: (MonadIO m, FileK a, FileK b) => a -> b -> m (Maybe Text) Source

fileGetUri

data FileGetUriMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, FileK a) => MethodInfo * FileGetUriMethodInfo a signature 

fileGetUri :: (MonadIO m, FileK a) => a -> m Text Source

fileGetUriScheme

data FileGetUriSchemeMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, FileK a) => MethodInfo * FileGetUriSchemeMethodInfo a signature 

fileHasParent

data FileHasParentMethodInfo Source

Instances

((~) * signature (Maybe b -> m Bool), MonadIO m, FileK a, FileK b) => MethodInfo * FileHasParentMethodInfo a signature 

fileHasParent :: (MonadIO m, FileK a, FileK b) => a -> Maybe b -> m Bool Source

fileHasPrefix

data FileHasPrefixMethodInfo Source

Instances

((~) * signature (b -> m Bool), MonadIO m, FileK a, FileK b) => MethodInfo * FileHasPrefixMethodInfo a signature 

fileHasPrefix :: (MonadIO m, FileK a, FileK b) => a -> b -> m Bool Source

fileHasUriScheme

data FileHasUriSchemeMethodInfo Source

Instances

((~) * signature (Text -> m Bool), MonadIO m, FileK a) => MethodInfo * FileHasUriSchemeMethodInfo a signature 

fileHasUriScheme :: (MonadIO m, FileK a) => a -> Text -> m Bool Source

fileHash

data FileHashMethodInfo Source

Instances

((~) * signature (m Word32), MonadIO m, FileK a) => MethodInfo * FileHashMethodInfo a signature 

fileHash :: (MonadIO m, FileK a) => a -> m Word32 Source

fileIsNative

data FileIsNativeMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, FileK a) => MethodInfo * FileIsNativeMethodInfo a signature 

fileIsNative :: (MonadIO m, FileK a) => a -> m Bool Source

fileLoadContents

data FileLoadContentsMethodInfo Source

Instances

((~) * signature (Maybe b -> m (ByteString, Text)), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileLoadContentsMethodInfo a signature 

fileLoadContentsAsync

fileLoadContentsFinish

data FileLoadContentsFinishMethodInfo Source

Instances

((~) * signature (b -> m (ByteString, Text)), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileLoadContentsFinishMethodInfo a signature 

fileLoadPartialContentsFinish

fileMakeDirectory

data FileMakeDirectoryMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileMakeDirectoryMethodInfo a signature 

fileMakeDirectory :: (MonadIO m, FileK a, CancellableK b) => a -> Maybe b -> m () Source

fileMakeDirectoryAsync

fileMakeDirectoryFinish

data FileMakeDirectoryFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileMakeDirectoryFinishMethodInfo a signature 

fileMakeDirectoryWithParents

fileMakeSymbolicLink

data FileMakeSymbolicLinkMethodInfo Source

Instances

((~) * signature (Text -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileMakeSymbolicLinkMethodInfo a signature 

fileMakeSymbolicLink :: (MonadIO m, FileK a, CancellableK b) => a -> Text -> Maybe b -> m () Source

fileMeasureDiskUsageFinish

fileMonitor

data FileMonitorMethodInfo Source

Instances

((~) * signature ([FileMonitorFlags] -> Maybe b -> m FileMonitor), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileMonitorMethodInfo a signature 

fileMonitorDirectory

fileMonitorFile

data FileMonitorFileMethodInfo Source

Instances

((~) * signature ([FileMonitorFlags] -> Maybe b -> m FileMonitor), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileMonitorFileMethodInfo a signature 

fileMountEnclosingVolume

fileMountEnclosingVolumeFinish

fileMountMountable

fileMountMountableFinish

data FileMountMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m File), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileMountMountableFinishMethodInfo a signature 

fileMove

data FileMoveMethodInfo Source

Instances

((~) * signature (b -> [FileCopyFlags] -> Maybe c -> Maybe FileProgressCallback -> m ()), MonadIO m, FileK a, FileK b, CancellableK c) => MethodInfo * FileMoveMethodInfo a signature 

fileNewForCommandlineArg

fileNewForCommandlineArgAndCwd

fileNewForPath

fileNewForUri

fileNewTmp

fileOpenReadwrite

data FileOpenReadwriteMethodInfo Source

Instances

((~) * signature (Maybe b -> m FileIOStream), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileOpenReadwriteMethodInfo a signature 

fileOpenReadwriteAsync

fileOpenReadwriteFinish

fileParseName

filePollMountable

data FilePollMountableMethodInfo Source

Instances

((~) * signature (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FilePollMountableMethodInfo a signature 

filePollMountableFinish

data FilePollMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FilePollMountableFinishMethodInfo a signature 

fileQueryDefaultHandler

fileQueryExists

data FileQueryExistsMethodInfo Source

Instances

((~) * signature (Maybe b -> m Bool), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileQueryExistsMethodInfo a signature 

fileQueryFileType

fileQueryFilesystemInfo

fileQueryFilesystemInfoAsync

fileQueryFilesystemInfoFinish

fileQueryInfo

data FileQueryInfoMethodInfo Source

Instances

((~) * signature (Text -> [FileQueryInfoFlags] -> Maybe b -> m FileInfo), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileQueryInfoMethodInfo a signature 

fileQueryInfoAsync

fileQueryInfoFinish

data FileQueryInfoFinishMethodInfo Source

Instances

((~) * signature (b -> m FileInfo), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileQueryInfoFinishMethodInfo a signature 

fileQuerySettableAttributes

fileQueryWritableNamespaces

fileRead

data FileReadMethodInfo Source

Instances

((~) * signature (Maybe b -> m FileInputStream), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileReadMethodInfo a signature 

fileReadAsync

data FileReadAsyncMethodInfo Source

Instances

((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileReadAsyncMethodInfo a signature 

fileReadFinish

data FileReadFinishMethodInfo Source

Instances

((~) * signature (b -> m FileInputStream), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileReadFinishMethodInfo a signature 

fileReplace

data FileReplaceMethodInfo Source

Instances

((~) * signature (Maybe Text -> Bool -> [FileCreateFlags] -> Maybe b -> m FileOutputStream), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileReplaceMethodInfo a signature 

fileReplaceAsync

data FileReplaceAsyncMethodInfo Source

Instances

((~) * signature (Maybe Text -> Bool -> [FileCreateFlags] -> Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileReplaceAsyncMethodInfo a signature 

fileReplaceContents

fileReplaceContentsAsync

fileReplaceContentsBytesAsync

fileReplaceContentsFinish

fileReplaceFinish

data FileReplaceFinishMethodInfo Source

Instances

((~) * signature (b -> m FileOutputStream), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileReplaceFinishMethodInfo a signature 

fileReplaceReadwrite

fileReplaceReadwriteAsync

fileReplaceReadwriteFinish

fileResolveRelativePath

data FileResolveRelativePathMethodInfo Source

Instances

((~) * signature (Text -> m File), MonadIO m, FileK a) => MethodInfo * FileResolveRelativePathMethodInfo a signature 

fileSetAttribute

data FileSetAttributeMethodInfo Source

Instances

((~) * signature (Text -> FileAttributeType -> Ptr () -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeMethodInfo a signature 

fileSetAttributeByteString

fileSetAttributeInt32

data FileSetAttributeInt32MethodInfo Source

Instances

((~) * signature (Text -> Int32 -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeInt32MethodInfo a signature 

fileSetAttributeInt64

data FileSetAttributeInt64MethodInfo Source

Instances

((~) * signature (Text -> Int64 -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeInt64MethodInfo a signature 

fileSetAttributeString

data FileSetAttributeStringMethodInfo Source

Instances

((~) * signature (Text -> Text -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeStringMethodInfo a signature 

fileSetAttributeUint32

data FileSetAttributeUint32MethodInfo Source

Instances

((~) * signature (Text -> Word32 -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeUint32MethodInfo a signature 

fileSetAttributeUint64

data FileSetAttributeUint64MethodInfo Source

Instances

((~) * signature (Text -> Word64 -> [FileQueryInfoFlags] -> Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetAttributeUint64MethodInfo a signature 

fileSetAttributesAsync

fileSetAttributesFinish

fileSetAttributesFromInfo

fileSetDisplayName

data FileSetDisplayNameMethodInfo Source

Instances

((~) * signature (Text -> Maybe b -> m File), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileSetDisplayNameMethodInfo a signature 

fileSetDisplayNameAsync

fileSetDisplayNameFinish

data FileSetDisplayNameFinishMethodInfo Source

Instances

((~) * signature (b -> m File), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileSetDisplayNameFinishMethodInfo a signature 

fileStartMountable

fileStartMountableFinish

data FileStartMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileStartMountableFinishMethodInfo a signature 

fileStopMountable

fileStopMountableFinish

data FileStopMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileStopMountableFinishMethodInfo a signature 

fileSupportsThreadContexts

fileTrash

data FileTrashMethodInfo Source

Instances

((~) * signature (Maybe b -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileTrashMethodInfo a signature 

fileTrash :: (MonadIO m, FileK a, CancellableK b) => a -> Maybe b -> m () Source

fileTrashAsync

data FileTrashAsyncMethodInfo Source

Instances

((~) * signature (Int32 -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, FileK a, CancellableK b) => MethodInfo * FileTrashAsyncMethodInfo a signature 

fileTrashFinish

data FileTrashFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileTrashFinishMethodInfo a signature 

fileTrashFinish :: (MonadIO m, FileK a, AsyncResultK b) => a -> b -> m () Source

fileUnmountMountable

fileUnmountMountable :: (MonadIO m, FileK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source

Deprecated: (Since version 2.22)Use g_file_unmount_mountable_with_operation() instead.

fileUnmountMountableFinish

data FileUnmountMountableFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, FileK a, AsyncResultK b) => MethodInfo * FileUnmountMountableFinishMethodInfo a signature 

fileUnmountMountableFinish :: (MonadIO m, FileK a, AsyncResultK b) => a -> b -> m () Source

Deprecated: (Since version 2.22)Use g_file_unmount_mountable_with_operation_finish() instead.

fileUnmountMountableWithOperation

fileUnmountMountableWithOperationFinish