X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=lib%2Ffolder%2Ffolder-interface.go;h=9eb68296ba122c561a1c1a8886fcae8925869ae8;hb=8d3f51e52894d46a4a92a944bc09f4ceaa1abf51;hp=aec773d65ddc8ec67196e12250101cfc73909149;hpb=b1708565ee2b4d725bb98c6b015f16af3d2a097e;p=src%2Fxds%2Fxds-server.git diff --git a/lib/folder/folder-interface.go b/lib/folder/folder-interface.go index aec773d..9eb6829 100644 --- a/lib/folder/folder-interface.go +++ b/lib/folder/folder-interface.go @@ -60,9 +60,11 @@ type FolderConfig struct { // PathMapConfig Path mapping specific data type PathMapConfig struct { - ServerPath string `json:"serverPath"` - CheckFile string `json:"checkFile"` - CheckContent string `json:"checkContent"` + ServerPath string `json:"serverPath"` + + // Don't keep temporary file name (IOW we don't want to save it and reuse it) + CheckFile string `json:"checkFile" xml:"-"` + CheckContent string `json:"checkContent" xml:"-"` } // CloudSyncConfig CloudSync (AKA Syncthing) specific data