Implement internal::get_links()

This commit is contained in:
Matthias Beyer 2016-02-07 16:25:17 +01:00
parent b6168f50a1
commit 950dce945f

View file

@ -4,8 +4,10 @@ use error::{LinkError, LinkErrorKind};
use link::{Link, Links};
use result::Result;
use toml::Value;
pub fn get_links(header: &EntryHeader) -> Result<Links> {
unimplemented!()
process_rw_result(header.read("imag.links"))
}
pub fn set_links(header: &mut EntryHeader, links: Links) -> Result<Links> {