| Portability | unix |
|---|---|
| Stability | experimental |
| Maintainer | Vincent Hanquez <vincent@snarc.org> |
| Safe Haskell | None |
Data.Git.Named
Description
- data RefSpecTy
- = RefHead
- | RefOrigHead
- | RefFetchHead
- | RefBranch String
- | RefTag String
- | RefRemote String
- | RefPatches String
- | RefStash
- | RefOther String
- data RefContentTy
- readPackedRefs :: FilePath -> IO [(RefSpecTy, Ref)]
- existsRefFile :: FilePath -> RefSpecTy -> IO Bool
- writeRefFile :: FilePath -> RefSpecTy -> RefContentTy -> IO ()
- readRefFile :: FilePath -> RefSpecTy -> IO RefContentTy
Documentation
Represent a named specifier.
data RefContentTy Source
content of a ref file.
Constructors
| RefDirect Ref | |
| RefLink RefSpecTy | |
| RefContentUnknown ByteString |
Instances
writeRefFile :: FilePath -> RefSpecTy -> RefContentTy -> IO ()Source
readRefFile :: FilePath -> RefSpecTy -> IO RefContentTySource