Mercurial
view seobeo/snapshot_creator.h @ 271:13d61401c57d
redirect Copilot cache to service state
Set XDG_CACHE_HOME from the configured inference state so the systemd service can extract Copilot outside its protected home directory.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:24:05 -0700 |
| parents | 551d9fc0a2ba |
| children |
line wrap: on
line source
#ifndef SEOBEO_SNAPSHOT_CREATOR_H #define SEOBEO_SNAPSHOT_CREATOR_H #include "seobeo/seobeo.h" typedef struct { const char *path; int expected_status; const char *snapshot_dir; const char *host; const char *port; } SnapshotConfig; int Seobeo_Snapshot_Create(const SnapshotConfig *config); int Seobeo_Snapshots_Create_Batch(const SnapshotConfig configs[], int count); #endif