Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know whether the file has been deleted and synchronized on other devices #13

Open
xiaoosnggao opened this issue Feb 22, 2023 · 1 comment
Assignees

Comments

@xiaoosnggao
Copy link

No description provided.

@XHMM
Copy link
Owner

XHMM commented Feb 22, 2023

whether the file has been deleted?

Currently this lib not support listening icloud directory content changes, you should manually call exist() to check if file was deleted.

whether the file synchronized on other devices?

icloud api not provide this capability(as far as I know). when you upload a file from device A, this file is not always downloaded into your device B, it's determined by apple or you manually download it.

And as said above, this lib not support listening icloud directory content changes, so your device B will not be notified when new file uploaded, you need call readDir to refresh, but I think I can implement a listener for listening content change. I will investigate when available, also PR is welcome.

@XHMM XHMM closed this as completed Feb 22, 2023
@XHMM XHMM self-assigned this Mar 11, 2023
@XHMM XHMM reopened this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants