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 registry;
12pub mod release;
13pub mod repo_policy;
14pub mod restore;
15pub mod s3;
16pub mod scan;
17/// The SSH forced-command shim is a git *host* role and relies on a Unix
18/// `exec`; it is compiled only on Unix. Windows/macOS builds are client-only
19/// (restore and, ahead, the control-plane commands).
20#[cfg(unix)]
21pub mod shell;
22pub mod sshdiag;
23pub mod store;
24pub mod subnet;
25
26pub fn hello() -> &'static str {
27    "git-ark"
28}
29
30#[cfg(test)]
31mod tests {
32    #[test]
33    fn harness_runs() {
34        assert_eq!(super::hello(), "git-ark");
35    }
36}