Add folder label in addition to ID (fixes #966)

An auto generated ID is suggested on folder creation to reduce conflicts with
folders created on other devices.
This commit is contained in:
Lars K.W. Gohlke authored and Jakob Borg committed 2016-03-11 09:48:46 +00:00
1 parent 1875f7287e
commit 16c3d39fd2
13 files changed
+160 -104

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ import (
type FolderConfiguration struct {
ID string `xml:"id,attr" json:"id"`
Label string `xml:"label,attr" json:"label"`
RawPath string `xml:"path,attr" json:"path"`
Devices []FolderDeviceConfiguration `xml:"device" json:"devices"`
ReadOnly bool `xml:"ro,attr" json:"readOnly"`