diff --git a/lib/entry/libimagentryref/src/reference.rs b/lib/entry/libimagentryref/src/reference.rs index 64c77a41..fe9014d8 100644 --- a/lib/entry/libimagentryref/src/reference.rs +++ b/lib/entry/libimagentryref/src/reference.rs @@ -28,6 +28,7 @@ use libimagerror::errors::ErrorMsg as EM; use toml::Value; use toml_query::read::TomlValueReadExt; +use toml_query::read::Partial; use toml_query::delete::TomlValueDeleteExt; use toml_query::insert::TomlValueInsertExt; use failure::Fallible as Result; @@ -66,6 +67,11 @@ impl Deref for Config { } } +impl<'a> Partial<'a> for Config { + const LOCATION: &'static str = "ref.basepathes"; + type Output = Self; +} + provide_kindflag_path!(pub IsRef, "ref.is_ref"); /// Fassade module