Skip to main content

read_connection

Function read_connection 

Source
pub fn read_connection(
    directory: &StoreDir,
    keychain: &StoreKeychain,
) -> Result<Option<ConnectionCredentials>, SyncError>
Expand description

Read the saved provider location and custody credentials without opening a database. Shared by normal sync, read-only file access and damaged-database recovery. Absence means storage is not configured on this installation.