You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applyChanges() assumes that a file exists. That is not always true.
a lix syncing might receive changes from one client that constructs a file
a file might have been deleted and should be reconstructed
Proposal
Remove the assumption that a file exists when calling plugin.applyChanges(). Plugins would need to create a new file if no file exists. Seems seems OK.
Additional information
files are computed data from changes. at no point other than opening a file with an app or getting a file out of lix is applyChanges needed. Hence, letting plugins create file (if they don't exist) seems to make sense.
The text was updated successfully, but these errors were encountered:
Context
applyChanges()
assumes that a file exists. That is not always true.Proposal
Remove the assumption that a file exists when calling
plugin.applyChanges()
. Plugins would need to create a new file if no file exists. Seems seems OK.Additional information
files are computed data from changes. at no point other than opening a file with an app or getting a file out of lix is applyChanges needed. Hence, letting plugins create file (if they don't exist) seems to make sense.
The text was updated successfully, but these errors were encountered: