Skip to content

How jsDAV callbacks work #158

@birbird

Description

@birbird

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions