From 81449f48d6460926aa0d0a432043b69b59ca74b6 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 9 Jun 2017 13:22:45 +0200 Subject: [PATCH] Re-export file abstraction types --- libimagstore/src/store.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index f7d50892..b97dd1d8 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -41,10 +41,12 @@ use walkdir::Iter as WalkDirIter; use error::{StoreError as SE, StoreErrorKind as SEK}; use error::MapErrInto; use storeid::{IntoStoreId, StoreId, StoreIdIterator}; -use file_abstraction::FileAbstraction; use file_abstraction::FileAbstractionInstance; -use file_abstraction::FSFileAbstraction; use toml_ext::*; +// We re-export the following things so tests can use them +pub use file_abstraction::FileAbstraction; +pub use file_abstraction::FSFileAbstraction; +pub use file_abstraction::InMemoryFileAbstraction; use libimagerror::into::IntoError; use libimagerror::trace::trace_error;