miss-0: A Haskell git implimentation

Safe HaskellNone
LanguageHaskell2010

Data.Git.Formats

Description

This module provides some standard formats used for correctness across miss. In many cases git only allows specific subsets of bytestrings due to parsing ambiguity or system restrictions.

Synopsis

Documentation

data LfFree Source #

The restricted subset of ByteStrings that do not include a linefeed.

Instances
Eq LfFree Source # 
Instance details

Defined in Data.Git.Formats

Methods

(==) :: LfFree -> LfFree -> Bool #

(/=) :: LfFree -> LfFree -> Bool #

Ord LfFree Source # 
Instance details

Defined in Data.Git.Formats

Show LfFree Source # 
Instance details

Defined in Data.Git.Formats

IsString LfFree Source # 
Instance details

Defined in Data.Git.Formats

Methods

fromString :: String -> LfFree #

Semigroup LfFree Source # 
Instance details

Defined in Data.Git.Formats

Monoid LfFree Source # 
Instance details

Defined in Data.Git.Formats

lfFree :: MonadFail m => ByteString -> m LfFree Source #

Safe constructor for LfFree

isLfFree :: ByteString -> Bool Source #

True when lfFree will result in a Just