Portability | unix |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | None |
- 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.
writeRefFile :: FilePath -> RefSpecTy -> RefContentTy -> IO ()Source
readRefFile :: FilePath -> RefSpecTy -> IO RefContentTySource