Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
IOErrorEnumReadOnly :: IOErrorEnumgi-gio GI.Gio.Enums File is read only.
DBusInterfaceSkeletonFlagsHandleMethodInvocationsInThread :: DBusInterfaceSkeletonFlagsgi-gio GI.Gio.Flags Each method invocation is handled in a thread dedicated to the invocation. This means that the method implementation can use blocking IO without blocking any other part of the process. It also means that the method implementation must use locking to access data structures used by other threads.
DBusPropertyInfoFlagsReadable :: DBusPropertyInfoFlagsgi-gio GI.Gio.Flags Property is readable.
DBusServerFlagsRunInThread :: DBusServerFlagsgi-gio GI.Gio.Flags All DBusServer::newConnection signals will run in separated dedicated threads (see signal for details).
-
gi-gio GI.Gio.Functions Tries to read from stream, as with inputStreamRead (if blocking is True) or pollableInputStreamReadNonblocking (if blocking is False). This can be used to more easily share code between blocking and non-blocking implementations of a method. If blocking is False, then stream must be a PollableInputStream for which pollableInputStreamCanPoll returns True, or else the behavior is undefined. If blocking is True, then stream does not need to be a PollableInputStream. Since: 2.34
unixMountIsReadonly :: (HasCallStack, MonadIO m) => UnixMountEntry -> m Boolgi-gio GI.Gio.Functions Checks if a unix mount is mounted read only.
-
gi-gio GI.Gio.Interfaces.File Creates a new file and returns a stream for reading and writing to it. The file must not already exist. By default files created are generally readable by everyone, but if you pass FileCreateFlagsPrivate in flags the file will be made readable only to the current user, to the level that is supported on the target filesystem. 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 IOErrorEnumCancelled will be returned. If a file or directory with this name already exists, the IOErrorEnumExists error will be returned. Some file systems don't allow all file names, and may return an IOErrorEnumInvalidFilename error, and if the name is too long, IOErrorEnumFilenameTooLong will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on. Note that in many non-local file cases read and write streams are not supported, so make sure you really need to do read and write streaming, rather than just opening for reading or writing. Since: 2.22
-
gi-gio GI.Gio.Interfaces.File Asynchronously creates a new file and returns a stream for reading and writing to it. The file must not already exist. For more details, see fileCreateReadwrite which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call fileCreateReadwriteFinish to get the result of the operation. Since: 2.22
-
gi-gio GI.Gio.Interfaces.File Finishes an asynchronous file create operation started with fileCreateReadwriteAsync. Since: 2.22
-
gi-gio GI.Gio.Interfaces.File Opens an existing file for reading and writing. The result is a FileIOStream that can be used to read and write the contents of the file. 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 IOErrorEnumCancelled will be returned. If the file does not exist, the IOErrorEnumNotFound error will be returned. If the file is a directory, the IOErrorEnumIsDirectory error will be returned. Other errors are possible too, and depend on what kind of filesystem the file is on. Note that in many non-local file cases read and write streams are not supported, so make sure you really need to do read and write streaming, rather than just opening for reading or writing. Since: 2.22