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