How cavernastudio/sdk_verna works
MEGA SDK is a client-access engine for encrypted cloud storage, exposed through a public API and language bindings. The principal workflow is an application invoking SDK operations, which manage account and cloud-node state and perform encrypted transfers; optional folder synchronization adds local-to-cloud reconciliation. The graph also preserves documented platform bindings and the graphics-worker capability. Source excerpts do not show the full request, encryption, or sync call paths, so those links are omitted rather than inferred.
Main entry points: megaapi.h Public API · megaclient.h MEGA client · nodemanager.cpp Node manager · QTMegaApiManager.cpp Qt API manager
Components 19
SDK interfaces
- Public API
include/megaapi.h - Low-level SDK
include/mega.h - iOS bindings
bindings/ios/include/MEGASdk.h - Java bindings
bindings/java/nz/mega/sdk/MegaApiJava.java - Qt API manager
bindings/qt/QTMegaApiManager.cpp
Cloud client engine
- MEGA client
include/mega/megaclient.h - Account state
include/mega/account.h - Node manager
src/nodemanager.cpp - Cloud nodes
include/mega/node.h - SDK database
include/mega/db.h - HTTP and commands
include/mega/http.h
Files and sync
- File transfers
include/mega/transfer.h - WebSocket uploads
src/transfer/ws/wsupload_engine.cpp - Folder sync
include/mega/sync.h - File service
src/file_service/file_service_context.cpp
Platform services
- FUSE service
src/fuse/supported/platform/service_context.cpp - Graphics worker
tools/gfxworker/src/main.cpp - Request processor
tools/gfxworker/src/processor.h
Other components
- Client application
Connections 9
- Client application → Public API: calls
- Public API → Low-level SDK: exposes
- MEGA client → Account state: uses
include/mega/megaclient.h - MEGA client → Node manager: uses
include/mega/megaclient.h - Node manager → Cloud nodes: manages
- Qt API manager → Public API: creates
bindings/qt/QTMegaApiManager.cpp - Graphics worker → Request processor: constructs
tools/gfxworker/src/main.cpp - Folder sync → File transfers: uploads
- FUSE service → File service: uses