Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Patch matching options.
These are all of the same type MatchOption
defined below.
Multiple flags per option are allowed and do not raise a conflict error.
This is how Darcs currently operates, even though I suspect that it ignores
all but the first MatchFlag
(since it does so for many other options).
Given a suitable semantics (and documentation thereof), for instance "all the given patterns must match", this could be turned into a useful feature.
Synopsis
- data MatchFlag
- = OnePattern String
- | SeveralPattern String
- | AfterPattern String
- | UpToPattern String
- | OnePatch String
- | SeveralPatch String
- | AfterPatch String
- | UpToPatch String
- | OneHash String
- | AfterHash String
- | UpToHash String
- | OneTag String
- | SeveralTag String
- | AfterTag String
- | UpToTag String
- | LastN Int
- | OneIndex Int
- | IndexRange Int Int
- | Context AbsolutePath
- matchUpToOne :: MatchOption
- matchOneContext :: MatchOption
- matchOneNontag :: MatchOption
- matchSeveral :: MatchOption
- matchSeveralOrFirst :: MatchOption
- matchSeveralOrLast :: MatchOption
- matchRange :: MatchOption
- matchOneOrRange :: MatchOption
- matchSeveralOrRange :: MatchOption
- context :: MatchOption
- matchLast :: MatchOption
- matchFrom :: MatchOption
- matchAny :: MatchOption
Documentation
:: MatchOption | show files/contents, dist, annotate |
matchOneContext :: MatchOption Source #
Used by: clone
matchOneNontag :: MatchOption Source #
Used by: amend
matchSeveral :: MatchOption Source #
Used by: rebase pull/apply, send, push, pull, apply, fetch
matchSeveralOrFirst :: MatchOption Source #
Used by: rebase unsuspend/reify
matchSeveralOrLast :: MatchOption Source #
Used by: unrecord, obliterate, rebase suspend, rollback
matchRange :: MatchOption Source #
Used by: show dependencies
matchOneOrRange :: MatchOption Source #
Used by: diff
matchSeveralOrRange :: MatchOption Source #
Used by: log