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 jsDAV callbacks work #158

Open
birbird opened this issue Mar 13, 2017 · 0 comments
Open

How jsDAV callbacks work #158

birbird opened this issue Mar 13, 2017 · 0 comments

Comments

@birbird
Copy link

birbird commented Mar 13, 2017

Hi

I am new to jsDAV, and is taking over a project used jsDAV.
Currently I want understand the work flow of jsDAV, specially how those callbacks work.
I didn't find the answer in wiki, then ask here, hope it will not disturb.

Take jsDAV/lib/DAV/backends/fs/file.js for example.
It uses callbacks like cbfsput, cbfsfileget, cbfsfiledel, etc heavily, the same situation in the project I am working on.

But I don't know where those callbacks come from.
Does jsDAV define them? and where?
And who calls those API and passes the callback parameter, where is the code?

Any help will be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant