darcs-2.16.2: a distributed, interactive, smart revision control system

Safe HaskellNone
LanguageHaskell2010

Darcs.UI.Completion

Description

How to complete arguments

Synopsis

Documentation

fileArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [FilePath] Source #

Return all files available under the original working directory regardless of their repo state. Subdirectories get a separator (slash) appended.

knownFileArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [FilePath] Source #

Return all files available under the original working directory that are known to darcs (either recorded or pending). Subdirectories get a separator (slash) appended.

unknownFileArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [FilePath] Source #

Return all files available under the original working directory that are unknown to darcs but could be added. Subdirectories get a separator (slash) appended.

modifiedFileArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [FilePath] Source #

Return all files available under the original working directory that are modified (relative to the recorded state). Subdirectories get a separator (slash) appended.

noArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [String] Source #

Return an empty list.

prefArgs :: String -> (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [String] Source #

Return the available prefs of the given kind.