Merge pull request #233 from matthiasbeyer/libimagstore/entry-header-get-header

EntryHeader: Function to get toml object
This commit is contained in:
Matthias Beyer 2016-03-07 10:29:14 +01:00
commit 4f935c8ba1

View file

@ -351,6 +351,10 @@ impl EntryHeader {
}
}
pub fn header(&self) -> &Value {
&self.header
}
fn from_table(t: Table) -> EntryHeader {
EntryHeader {
header: Value::Table(t)