summaryrefslogtreecommitdiffstats
path: root/lib/folder/folder-interface.go
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-16 18:02:07 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-06 15:57:04 +0100
commitb1708565ee2b4d725bb98c6b015f16af3d2a097e (patch)
treec0c77d3eb5fb035dc1b18e7a8169fc06afaf0343 /lib/folder/folder-interface.go
parent17ab6663d5522bf4db3e6cce70352f8ba4379e99 (diff)
Add sanity check on pathmap folder creation.
Diffstat (limited to 'lib/folder/folder-interface.go')
-rw-r--r--lib/folder/folder-interface.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/folder/folder-interface.go b/lib/folder/folder-interface.go
index 5036c4d..aec773d 100644
--- a/lib/folder/folder-interface.go
+++ b/lib/folder/folder-interface.go
@@ -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