miss-0: A Haskell git implimentation

Safe HaskellNone
LanguageHaskell2010

Data.Git.Paths

Description

 
Synopsis

Documentation

class InRepo a where Source #

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 #

RawFilePaths are themselves (inRepo = id) in a .git directory.

Instance details

Defined in Data.Git.Paths

InRepo Ref Source #

The path of a Ref relative to the git directory.

Instance details

Defined in Data.Git.Ref

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.