diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index 0ffbed42..bd74cd36 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -226,16 +226,7 @@ pub type EntryResult = RResult; */ impl EntryHeader { - /** - * Get a new header object with a already-filled toml table - */ - pub fn new(toml: Table) -> EntryHeader { - EntryHeader { - toml: toml, - } - } - - pub fn new_current() -> EntryHeader { + pub fn new() -> EntryHeader { EntryHeader { toml: build_default_header() }