romele / git-trace public
62 commits · 1 branch · 1 tag · 1 contributor (top: Romele) · first commit 3d ago · last push 11m ago
src/ops.h
#ifndef GT_OPS_H #define GT_OPS_H #include "web.h" /* instance health: prints per-subsystem ok/warn/FAIL, exit !=0 on fail */ int gt_doctor(struct app_ctx *app); /* consistent snapshot: <dir>/git-trace.db + <dir>/repos.tar.gz */ int gt_backup(struct app_ctx *app, const char *dir); /* inverse of backup; reinstalls hooks on every restored repo */ int gt_restore(struct app_ctx *app, const char *dir); #endif