Remove artifacts

I don't even know how this could re-appear in the codebase as we removed
the toml_ext thing a while ago... strange!
This commit is contained in:
Matthias Beyer 2017-08-31 18:59:56 +02:00
parent e338fef98e
commit 74ec12d5c2
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,6 @@ use std::fs::File;
use std::fs::Permissions;
use libimagstore::store::Entry;
use libimagstore::toml_ext::TomlValueExt;
use libimagstore::store::FileLockEntry;
use libimagstore::storeid::StoreId;
use libimagstore::storeid::IntoStoreId;

View file

@ -25,7 +25,6 @@ use libimagstore::store::FileLockEntry;
use libimagstore::storeid::StoreId;
use libimagstore::storeid::IntoStoreId;
use libimagstore::store::Store;
use libimagstore::toml_ext::TomlValueExt;
use libimagerror::into::IntoError;
use toml::Value;
@ -145,6 +144,8 @@ impl RefStore for Store {
fn create_with_hasher<'a, H: Hasher>(&'a self, pb: PathBuf, flags: RefFlags, mut h: H)
-> Result<FileLockEntry<'a>>
{
use toml_query::insert::TomlValueInsertExt;
if !pb.exists() {
return Err(REK::RefTargetDoesNotExist.into_error());
}