Skip to main content

Crate git_ark

Crate git_ark 

Source

Modules§

backup
clock
config
crypto
disk
Filesystem free-space, via df — informational only (never blocks a backup).
git
github
Optional private GitHub mirror.
hooks
hostcmd
host add: the SSH orchestration that wires the pure pieces in hostspec.rs/registry.rs onto a real box.
hostspec
Pure host-add logic: the POSIX probe script and its parser.
provision
AWS S3 vault provisioning (git-ark vault provision).
registry
Client-side host registry (hosts.toml).
release
Fetch the matching prebuilt host binary from the GitHub release.
repo_policy
Per-repo backup + mirror policy, committed to the repo as .git-ark.yml.
restore
s3
scan
Bounded-parallel TCP port probe — the LAN discovery scanner.
shell
The SSH forced-command shim is a git host role and relies on a Unix exec; it is compiled only on Unix. Windows/macOS builds are client-only (restore and, ahead, the control-plane commands).
sshdiag
Turn raw ssh stderr into an actionable diagnosis.
store
subnet
Client-side LAN facts: the client’s own IPv4 and the hosts of its /24.

Functions§

hello