Function
newFolderConfiguration
(w config.Wrapper, id, label string, fsType config.FilesystemType, path string)
Source from the content-addressed store, hash-verified
| 3454 | } |
| 3455 | |
| 3456 | func newFolderConfiguration(w config.Wrapper, id, label string, fsType config.FilesystemType, path string) config.FolderConfiguration { |
| 3457 | fcfg := w.DefaultFolder() |
| 3458 | fcfg.ID = id |
| 3459 | fcfg.Label = label |
| 3460 | fcfg.FilesystemType = fsType |
| 3461 | fcfg.Path = path |
| 3462 | return fcfg |
| 3463 | } |
| 3464 | |
| 3465 | type updatedPendingFolder struct { |
| 3466 | FolderID string `json:"folderID"` |