Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class InRepo a where
- inRepo :: a -> RawFilePath
- repoPath :: (MonadIO m, InRepo a) => a -> GitT m RawFilePath
- packedRefsPath :: RawFilePath
- looseObjectPath :: Sha1 -> RawFilePath
- packDir :: RawFilePath
Documentation
Types that are associated with a particular path in the .git
directory.
inRepo :: a -> RawFilePath Source #
The portion of the path under the git directory---thus, inRepo HEAD == HEAD
, not
".git/HEAD"
.
Instances
InRepo RawFilePath Source # |
|
Defined in Data.Git.Paths inRepo :: RawFilePath -> RawFilePath Source # | |
InRepo Ref Source # | The path of a |
Defined in Data.Git.Ref inRepo :: Ref -> RawFilePath Source # |
repoPath :: (MonadIO m, InRepo a) => a -> GitT m RawFilePath Source #
The path of an object in the git directory
packedRefsPath :: RawFilePath Source #
Location of the packed-refs
file.
looseObjectPath :: Sha1 -> RawFilePath Source #
Path for a loose object Sha1
.
packDir :: RawFilePath Source #
Location of packfiles.