| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Data.Git.Paths
Description
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.
Methods
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 Methods inRepo :: RawFilePath -> RawFilePath Source # | |
| InRepo Ref Source # | The path of a  | 
| Defined in Data.Git.Ref Methods 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.