Safe Haskell | None |
---|---|
Language | Haskell2010 |
- announceFiles :: Verbosity -> Maybe [SubPath] -> String -> IO ()
- filterExistingPaths :: (RepoPatch p, ApplyState p ~ Tree) => Repository rt p wR wU wT -> Verbosity -> UseIndex -> ScanKnown -> LookForMoves -> [SubPath] -> IO ([SubPath], [SubPath])
- testTentativeAndMaybeExit :: Repository rt p wR wU wT -> Verbosity -> TestChanges -> SetScriptsExecutable -> Bool -> String -> String -> Maybe String -> IO ()
- printDryRunMessageAndExit :: (RepoPatch p, ApplyState p ~ Tree) => String -> Verbosity -> Summary -> DryRun -> XmlOutput -> Bool -> FL (PatchInfoAnd rt p) wX wY -> IO ()
- getUniqueRepositoryName :: Bool -> FilePath -> IO FilePath
- getUniqueDPatchName :: FilePath -> IO FilePath
- expandDirs :: Bool -> [SubPath] -> IO [SubPath]
- doesDirectoryReallyExist :: FilePath -> IO Bool
- checkUnrelatedRepos :: RepoPatch p => Bool -> PatchSet rt p wStart wX -> PatchSet rt p wStart wY -> IO ()
- repoTags :: PatchSet rt p wX wY -> IO [String]
Documentation
filterExistingPaths :: (RepoPatch p, ApplyState p ~ Tree) => Repository rt p wR wU wT -> Verbosity -> UseIndex -> ScanKnown -> LookForMoves -> [SubPath] -> IO ([SubPath], [SubPath]) Source #
Given a repository and two common command options, classify the given list of subpaths according to whether they exist in the pristine or working tree. Paths which are neither in working nor pristine are reported and dropped. The result is a pair of path lists: those that exist only in the working tree, and those that exist in pristine or working.
testTentativeAndMaybeExit :: Repository rt p wR wU wT -> Verbosity -> TestChanges -> SetScriptsExecutable -> Bool -> String -> String -> Maybe String -> IO () Source #
printDryRunMessageAndExit :: (RepoPatch p, ApplyState p ~ Tree) => String -> Verbosity -> Summary -> DryRun -> XmlOutput -> Bool -> FL (PatchInfoAnd rt p) wX wY -> IO () Source #
prints a string
representing the action that would be taken if the printDryRunMessageAndExit
action flags patches--dry-run
option had
not been passed to darcs. Then darcs exits successfully. action
is the
name of the action being taken, like "push"
flags
is the list of flags
which were sent to darcs patches
is the sequence of patches which would be
touched by action
.