- > If you create a doctype, (the file gets created).
--- if the other user syncs now they get the doctype
- > if you then add a property (the file gets updated).
--- if the other user sync here, they get the updated properties (or removed properties if you deleted them)
- if someone syncs after both they get the new doctype in the final state. in one action.
if the user doesn't sync with you files (there is a ImportOnStartup to ensure they always are in sync with what is on disk). but then makes their own changes, they will get written to disk.
but at this point you are in the world of source control, you might get a merge conflict (if they didn't pull first), or you will see the change and you can rollback.
if you delete something then the doctype/datatype/etc file is overwritten with an 'empty' file which tells uSync to delete it on import, so that way its all kept inline.
docs has a lot of info on the diffrent setups.
https://docs.jumoo.co.uk/usync/category/usync