Safe Haskell | None |
---|---|
Language | Haskell98 |
- daemonRunning :: FilePath -> RevertableProperty
- installed :: Property NoInfo
- type RepoUrl = String
- type Branch = String
- cloned :: UserName -> RepoUrl -> FilePath -> Maybe Branch -> Property NoInfo
- isGitDir :: FilePath -> IO Bool
- data GitShared
- bareRepo :: FilePath -> UserName -> GitShared -> Property NoInfo
Documentation
daemonRunning :: FilePath -> RevertableProperty Source
Exports all git repos in a directory (that user nobody can read) using git-daemon, run from inetd.
Note that reverting this property does not remove or stop inetd.
cloned :: UserName -> RepoUrl -> FilePath -> Maybe Branch -> Property NoInfo Source
Specified git repository is cloned to the specified directory.
If the directory exists with some other content (either a non-git repository, or a git repository cloned from some other location), it will be recursively deleted first.
A branch can be specified, to check out.