diff --git a/libimagstore/src/entry.rs b/libimagstore/src/entry.rs index 5f47dbe2..27ef3dcb 100644 --- a/libimagstore/src/entry.rs +++ b/libimagstore/src/entry.rs @@ -24,9 +24,17 @@ impl Entry { &self.header } + pub fn get_header_mut(&mut self) -> &mut EntryHeader { + &mut self.header + } + pub fn get_content(&self) -> &EntryContent { &self.content } + pub fn get_content_mut(&mut self) -> &mut EntryContent { + &mut self.content + } + }