Safe Haskell | None |
---|---|
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.
- data MatchFlag
- = OnePattern String
- | SeveralPattern String
- | AfterPattern String
- | UpToPattern String
- | OnePatch String
- | OneHash String
- | AfterHash String
- | UpToHash String
- | SeveralPatch String
- | AfterPatch String
- | UpToPatch String
- | OneTag String
- | AfterTag String
- | UpToTag String
- | LastN Int
- | PatchIndexRange Int Int
- | Context AbsolutePath
- matchUpToOne :: MatchOption
- matchOneContext :: MatchOption
- matchOneNontag :: MatchOption
- matchSeveral :: MatchOption
- matchSeveralOrFirst :: MatchOption
- matchSeveralOrLast :: MatchOption
- matchRange :: 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: diff
matchSeveralOrRange :: MatchOption Source #
Used by: log