Skip to main content

git_ark/
lib.rs

1pub mod backup;
2pub mod clock;
3pub mod config;
4pub mod crypto;
5pub mod disk;
6pub mod git;
7pub mod github;
8pub mod hooks;
9pub mod hostcmd;
10pub mod hostspec;
11pub mod provision;
12pub mod registry;
13pub mod release;
14pub mod repo_policy;
15pub mod restore;
16pub mod s3;
17pub mod scan;
18/// The SSH forced-command shim is a git *host* role and relies on a Unix
19/// `exec`; it is compiled only on Unix. Windows/macOS builds are client-only
20/// (restore and, ahead, the control-plane commands).
21#[cfg(unix)]
22pub mod shell;
23pub mod sshdiag;
24pub mod store;
25pub mod subnet;
26
27pub fn hello() -> &'static str {
28    "git-ark"
29}
30
31#[cfg(test)]
32mod tests {
33    #[test]
34    fn harness_runs() {
35        assert_eq!(super::hello(), "git-ark");
36    }
37}