| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Ggit.Objects.Object
Contents
Description
Represents a generic object in a repository.
- newtype Object = Object (ManagedPtr Object)
- class GObject o => IsObject o
- toObject :: (MonadIO m, IsObject o) => o -> m Object
- noObject :: Maybe Object
- objectGetId :: (HasCallStack, MonadIO m, IsObject a) => a -> m OId
- objectGetOwner :: (HasCallStack, MonadIO m, IsObject a) => a -> m Repository
Exported types
Constructors
| Object (ManagedPtr Object) |
Methods
getId
Arguments
| :: (HasCallStack, MonadIO m, IsObject a) | |
| => a |
|
| -> m OId | Returns: the |
Gets the OId of object.
getOwner
Arguments
| :: (HasCallStack, MonadIO m, IsObject a) | |
| => a |
|
| -> m Repository | Returns: the |
Gets the Repository that owns object.