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

Safe HaskellNone

Data.Git.Repository

Description

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.

Documentation

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