Expand description
The library that underlies most things lockbook.
All lockbook clients (iOS, linux, etc) rely on this library to perform cryptography, offline edits, and reconciliation of data between our server, other clients, and other devices.
Our server relies on this library for checking signatures, and validating whether tree modifications are valid / authorized.
-
Most clients / integrators will be interested in the functions attached to the Lb struct. See the service module for evolving this functionality.
-
The model module contains the specification of our data structures and contracts between components.
-
The logic module contains our important algorithms and routines.
-
The
"blocking"feature flag enables the blocking module and and the corresponding blockingLbvariant. -
The
"ffi"feature flag enablesblockingas well as an API for C ffi clients -
The
"jni"feature flag enablesblockingas well as an API for JVM clients
Modules§
- Members of this module comprise the endpoints exposed by the lb crate Members of this module are generally handling concurrency primitives, caches, and pay special attention to the needs of people consuming lb - UI developers and integration engineers. On locking: in general, it is okay to hold a lock for reading a file, but not for multiple files or network I/O
Macros§
Structs§
- A Universally Unique Identifier (UUID).