|
|
|
|
| Synopsis |
|
| changes_description :: String | | | changes_help :: String | | | changes :: DarcsCommand | | | changes_cmd :: [DarcsFlag] -> [String] -> IO () | | | get_changes_info :: RepoPatch p => [DarcsFlag] -> [FilePath] -> PatchSet p -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) | | | filter_patches_by_names :: RepoPatch p => Maybe Int -> [FilePath] -> [PatchInfoAnd p] -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) | | | (-:-) :: a -> ([a], b, c) -> ([a], b, c) | | | changelog :: RepoPatch p => [DarcsFlag] -> PatchSet p -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) -> Doc | | | changes_context :: RepoPatch p => Repository p -> [DarcsFlag] -> IO () |
|
|
| Documentation |
|
| changes_description :: String |
|
| changes_help :: String |
|
| changes :: DarcsCommand |
|
| changes_cmd :: [DarcsFlag] -> [String] -> IO () |
|
| get_changes_info :: RepoPatch p => [DarcsFlag] -> [FilePath] -> PatchSet p -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) |
|
| filter_patches_by_names |
| :: RepoPatch p | | | => Maybe Int | maxcount
| | -> [FilePath] | filenames
| | -> [PatchInfoAnd p] | patchlist
| | -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) | | | Take a list of filenames and patches and produce a list of
patches that actually touch the given files with list of touched
file names, a new file list that represents the same set of files
as in input, before the returned patches would have been applied,
and possibly an error. Additionaly, the function takes a depth
limit -- maxcount, that could be Nothing (return everything) or
Just n -- returns at most n patches touching the file (starting
from the beginning of the patch list).
|
|
|
| (-:-) :: a -> ([a], b, c) -> ([a], b, c) |
Note, lazy pattern matching is required to make functions like
filter_patches_by_names lazy in case you are only not interested in
the first element. E.g.:
let (fs, _, _) = filter_patches_by_names ...
|
|
| changelog :: RepoPatch p => [DarcsFlag] -> PatchSet p -> ([(PatchInfoAnd p, [FilePath])], [FilePath], Doc) -> Doc |
|
| changes_context :: RepoPatch p => Repository p -> [DarcsFlag] -> IO () |
|
| Produced by Haddock version 2.4.2 |