More docs for StoreBuilder::build

This commit is contained in:
Tony
2024-10-03 22:36:51 +08:00
parent 50ab4c18e0
commit fc51b3d132
+8
View File
@@ -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()