rename createOrExistingStore to createOrLoad

This commit is contained in:
Lucas Nogueira
2024-10-15 07:31:54 -03:00
parent 7aca255209
commit 083c165543
8 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -117,7 +117,7 @@ async fn create_store<R: Runtime>(
}
#[tauri::command]
async fn create_or_existing_store<R: Runtime>(
async fn create_or_load<R: Runtime>(
app: AppHandle<R>,
store_state: State<'_, StoreState>,
path: PathBuf,
@@ -385,9 +385,9 @@ impl<R: Runtime> Builder<R> {
plugin::Builder::new("store")
.invoke_handler(tauri::generate_handler![
create_store,
create_or_load,
get_store,
close_store,
create_or_existing_store,
set,
get,
has,