Move device ID generation to sync.DeviceIDGen

This commit is contained in:
2024-05-16 21:26:42 -04:00
parent 8bd6bfe8ab
commit a70e92fb14
3 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ func deletionSync(deletions []string) {
}
// folderSync creates folders on the client (from the given list of folder names)
func folderSync(folders []string) { // TODO also add folders on server when they are created from the client
func folderSync(folders []string) {
for _, folder := range folders {
// check if folder already exists
isFile, isAccessible := backend.TargetIsFile(backend.EntryRoot+folder, false, 1)