mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-16 20:49:05 -04:00
docs: Unify references to "cryptostore" as "crypto store"
This commit is contained in:
@@ -1330,7 +1330,7 @@ impl OlmMachine {
|
||||
Ok(self.runtime.block_on(self.inner.backup_machine().room_key_counts())?.into())
|
||||
}
|
||||
|
||||
/// Store the recovery key in the cryptostore.
|
||||
/// Store the recovery key in the crypto store.
|
||||
///
|
||||
/// This is useful if the client wants to support gossiping of the backup
|
||||
/// key.
|
||||
|
||||
@@ -220,7 +220,7 @@ impl BackupMachine {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Store the recovery key in the cryptostore.
|
||||
/// Store the recovery key in the crypto store.
|
||||
///
|
||||
/// This is useful if the client wants to support gossiping of the backup
|
||||
/// key.
|
||||
|
||||
@@ -456,8 +456,8 @@ impl ReadOnlyDevice {
|
||||
|
||||
/// Set the trust state of the device to the given state.
|
||||
///
|
||||
/// Note: This should only done in the cryptostore where the trust state can
|
||||
/// be stored.
|
||||
/// Note: This should only done in the crypto store where the trust state
|
||||
/// can be stored.
|
||||
pub(crate) fn set_trust_state(&self, state: LocalTrust) {
|
||||
self.trust_state.store(state, Ordering::Relaxed)
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ impl std::fmt::Debug for SledStore {
|
||||
}
|
||||
|
||||
impl SledStore {
|
||||
/// Open the sled based cryptostore at the given path using the given
|
||||
/// Open the sled-based crypto store at the given path using the given
|
||||
/// passphrase to encrypt private data.
|
||||
pub fn open_with_passphrase(
|
||||
path: impl AsRef<Path>,
|
||||
@@ -224,7 +224,7 @@ impl SledStore {
|
||||
SledStore::open_helper(db, Some(path), store_cipher)
|
||||
}
|
||||
|
||||
/// Create a sled based cryptostore using the given sled database.
|
||||
/// Create a sled-based crypto store using the given sled database.
|
||||
/// The given passphrase will be used to encrypt private data.
|
||||
pub fn open_with_database(
|
||||
db: Db,
|
||||
|
||||
@@ -198,9 +198,9 @@ pub enum RoomKeyImportError {
|
||||
#[error(transparent)]
|
||||
SerdeJson(#[from] JsonError),
|
||||
|
||||
/// The cryptostore isn't yet open, logging in is required to open the
|
||||
/// cryptostore.
|
||||
#[error("The cryptostore hasn't been yet opened, can't import yet.")]
|
||||
/// The crypto store isn't yet open. Logging in is required to open the
|
||||
/// crypto store.
|
||||
#[error("The crypto store hasn't been yet opened, can't import yet.")]
|
||||
StoreClosed,
|
||||
|
||||
/// An IO error happened.
|
||||
|
||||
Reference in New Issue
Block a user