Skip to content

Commit

Permalink
More docs for StoreBuilder::build
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Oct 3, 2024
1 parent 50ab4c1 commit fc51b3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugins/store/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit fc51b3d

Please sign in to comment.