67
67
# Real-Time Sync Operations
69
def remoteFolderChanges(sync_collection, sync_backend, db_engine, db_session):
77
return (sync_collection['Collection-Name'], sync.RT_SUCCESS, rd_), remote_changes
79
except: return (sync_collection['Collection-Name'], sync.RT_FAIL, rd_), []
69
81
def deleteRemoteFile(file_localpath, db_engine, db_session,
70
82
sync_collection, sync_backend):
71
83
'''Delete a file from the remote collection'''