gitlib-0.5.1: Higher-level types for working with hlibgit2

Safe HaskellNone



Interface for opening and creating repositories. Repository objects are immutable, and serve only to refer to the given repository. Any data associated with the repository — such as the list of branches — is queried as needed.


withObject :: (Updatable a, Updatable b) => ObjRef a -> b -> (a -> IO c) -> IO cSource

withObjectPtr :: (Updatable a, Updatable b) => ObjRef a -> b -> (Ptr c -> IO d) -> IO dSource