From f3ae4d80743ba682aa6d2fbe9a7c809c4dee3f8b Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Wed, 10 Apr 2024 16:10:57 +0300 Subject: [PATCH] remove secondary storage --- lib/oxigraph/src/store.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/oxigraph/src/store.rs b/lib/oxigraph/src/store.rs index 1b09e5bb..70ed4a03 100644 --- a/lib/oxigraph/src/store.rs +++ b/lib/oxigraph/src/store.rs @@ -145,18 +145,18 @@ impl Store { /// `primary_path` must be the path of the primary instance and `secondary_path` an other directory for the secondary instance cache. /// /// If you want to simple read-only [`Store`] use [`Store::open_read_only`]. - #[cfg(all(not(target_family = "wasm")))] - pub fn open_persistent_secondary( - primary_path: impl AsRef, - secondary_path: impl AsRef, - ) -> Result { - Ok(Self { - storage: Storage::open_persistent_secondary( - primary_path.as_ref(), - secondary_path.as_ref(), - )?, - }) - } + // #[cfg(all(not(target_family = "wasm")))] + // pub fn open_persistent_secondary( + // primary_path: impl AsRef, + // secondary_path: impl AsRef, + // ) -> Result { + // Ok(Self { + // storage: Storage::open_persistent_secondary( + // primary_path.as_ref(), + // secondary_path.as_ref(), + // )?, + // }) + // } /// Opens a read-only [`Store`] from disk. ///