join_library

Function join_library 

Source
pub async fn join_library(
    bae_dir: &Path,
    code: InviteCode,
    key_service: &KeyService,
    cloud_home: Box<dyn CloudHome>,
    ids: &dyn IdProvider,
    make_blob_plan: impl Fn(&LibraryDir) -> Box<dyn BlobPlan>,
    on_status: impl Fn(&str),
) -> Result<Config, JoinError>
Expand description

Join an existing shared library using a decoded invite code.

Lower-level function — caller provides pre-built CloudHome. Prefer join_from_invite_code for the full flow.

on_status is called with progress messages for UI feedback.