Files
archie/internal/memory/backup.go
T
sam 782ba5b525 fix(memory): replace hermes-specific names with generic equivalents
SaveConfig's hermesHome parameter and HERMES_HOME references in comments
were copied from another project. The interface and its callers are
entirely internal to archie-core (no external call sites exist outside
tests), so renaming them is safe.

hermesHome -> dataHome
HERMES_HOME -> data directory
/tmp/hermes -> /tmp/archie-test
2026-07-31 02:19:50 +10:00

19 lines
867 B
Go

package memory
// ── Backup paths interface ─────────────────────────────────────────────────
//
// Providers that store data outside the data directory implement
// BackupProvider so the backup/restore workflow can include those external
// paths.
// BackupProvider is an optional interface for providers that store data
// outside the main data directory tree. Examples include external SQLite
// databases, vector-store indexes, or key-value stores that live at
// well-known paths elsewhere on the filesystem.
type BackupProvider interface {
// BackupPaths returns absolute file or directory paths that should be
// included in backup/restore workflows. Return an empty slice when the
// provider has no external data to back up.
BackupPaths() []string
}