| darcs-2.4.3: a distributed, interactive, smart revision control system | Source code | Contents | Index
Darcs.Patch.Info
Synopsis
data PatchInfo
patchinfo :: String -> String -> String -> [String] -> IO PatchInfo
invert_name :: PatchInfo -> PatchInfo
is_inverted :: PatchInfo -> Bool
idpatchinfo :: PatchInfo
add_junk :: PatchInfo -> IO PatchInfo
make_filename :: PatchInfo -> String
make_alt_filename :: PatchInfo -> String
readPatchInfo :: ByteString -> Maybe (PatchInfo, ByteString)
just_name :: PatchInfo -> String
just_author :: PatchInfo -> String
repopatchinfo :: String -> PatchInfo -> RepoPatchInfo
data RepoPatchInfo
human_friendly :: PatchInfo -> Doc
to_xml :: PatchInfo -> Doc
pi_date :: PatchInfo -> CalendarTime
set_pi_date :: String -> PatchInfo -> PatchInfo
pi_name :: PatchInfo -> String
pi_rename :: PatchInfo -> String -> PatchInfo
pi_author :: PatchInfo -> String
pi_tag :: PatchInfo -> Maybe String
pi_log :: PatchInfo -> [String]
showPatchInfo :: PatchInfo -> Doc
is_tag :: PatchInfo -> Bool
Documentation
data PatchInfo | Source
Instances
Eq PatchInfo
Ord PatchInfo
Show PatchInfo
patchinfo :: String -> String -> String -> [String] -> IO PatchInfo | Source
invert_name :: PatchInfo -> PatchInfo | Source
is_inverted :: PatchInfo -> Bool | Source
idpatchinfo :: PatchInfo | Source
add_junk :: PatchInfo -> IO PatchInfo | Source
make_filename :: PatchInfo -> String | Source
make_alt_filename :: PatchInfo -> String | Source
readPatchInfo :: ByteString -> Maybe (PatchInfo, ByteString) | Source
just_name :: PatchInfo -> String | Source
just_author :: PatchInfo -> String | Source
repopatchinfo :: String -> PatchInfo -> RepoPatchInfo | Source
data RepoPatchInfo | Source
Instances
HTML RepoPatchInfo
human_friendly :: PatchInfo -> Doc | Source
to_xml :: PatchInfo -> Doc | Source
pi_date :: PatchInfo -> CalendarTime | Source
set_pi_date :: String -> PatchInfo -> PatchInfo | Source
pi_name :: PatchInfo -> String | Source
pi_rename :: PatchInfo -> String -> PatchInfo | Source
pi_author :: PatchInfo -> String | Source
pi_tag :: PatchInfo -> Maybe String | Source
pi_log :: PatchInfo -> [String] | Source
showPatchInfo :: PatchInfo -> Doc | Source
Patch is stored between square brackets.
     [ <patch name>
     <patch author>*<patch date>
      <patch log (may be empty)> (indented one)
      <can have multiple lines in patch log,>
      <as long as they're preceded by a space>
      <and don't end with a square bracket.>
     ]
note that below I assume the name has no newline in it.
is_tag :: PatchInfo -> Bool | Source
Produced by Haddock version 2.4.2