Skip to main content

build_config

Function build_config 

Source
pub fn build_config(
    store_id: &str,
    device_id: &str,
    store_name: &str,
    join_info: &CloudHomeJoinInfo,
    cipher: &CloudCipher,
) -> Config
Expand description

Build the Config struct from join/restore parameters. The cipher records the home’s storage mode: Encrypted ⇒ opaque (a store key is stored, with its fingerprint), Plaintext ⇒ browsable (no key, no fingerprint).