From d75e17a48934e4896963fb0fee78dbd53f4e780b Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Mon, 21 Apr 2025 16:45:39 -0500 Subject: Implement staging and verification Ensure data integrity by supporting data staging and verification. --- internal/service/mirror.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'internal/service/mirror.go') diff --git a/internal/service/mirror.go b/internal/service/mirror.go index 12aaa79..43dd059 100644 --- a/internal/service/mirror.go +++ b/internal/service/mirror.go @@ -8,10 +8,13 @@ import ( ) type Mirror struct { - Method string `toml:"method,omitempty"` - From *internal.URL `toml:"from,omitempty"` - To *internal.URL `toml:"to,omitempty"` - Description string `toml:"description,omitempty"` + Method string `toml:"method,omitempty"` + From *internal.URL `toml:"from,omitempty"` + To *internal.URL `toml:"to,omitempty"` + Description string `toml:"description,omitempty"` + StagingMethod string `toml:"staging-method,omitempty"` + StagingPath string `toml:"staging-path,omitempty"` + Verify string `toml:"verify,omitempty"` } func (m *Mirror) Equal(arg *Mirror) bool { -- cgit v1.2.3