Add sanity check on pathmap folder creation.
[src/xds/xds-server.git] / lib / folder / folder-interface.go
index 5036c4d..aec773d 100644 (file)
@@ -60,7 +60,9 @@ type FolderConfig struct {
 
 // PathMapConfig Path mapping specific data
 type PathMapConfig struct {
-       ServerPath string `json:"serverPath"`
+       ServerPath   string `json:"serverPath"`
+       CheckFile    string `json:"checkFile"`
+       CheckContent string `json:"checkContent"`
 }
 
 // CloudSyncConfig CloudSync (AKA Syncthing) specific data