mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
More docs for StoreBuilder::build
This commit is contained in:
@@ -213,6 +213,14 @@ impl<R: Runtime> StoreBuilder<R> {
|
||||
|
||||
/// Builds the [`Store`].
|
||||
///
|
||||
/// This loads the store from disk and put the store in the app's resource table,
|
||||
/// to remove it from the resource table, call [`Store::close_store`]
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// If a store with this path is already in the resource table,
|
||||
/// will return a [`crate::Error::AlreadyExists`]
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// tauri::Builder::default()
|
||||
|
||||
Reference in New Issue
Block a user