Implement internal::get_links()
This commit is contained in:
parent
b6168f50a1
commit
950dce945f
1 changed files with 3 additions and 1 deletions
|
@ -4,8 +4,10 @@ use error::{LinkError, LinkErrorKind};
|
||||||
use link::{Link, Links};
|
use link::{Link, Links};
|
||||||
use result::Result;
|
use result::Result;
|
||||||
|
|
||||||
|
use toml::Value;
|
||||||
|
|
||||||
pub fn get_links(header: &EntryHeader) -> Result<Links> {
|
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> {
|
pub fn set_links(header: &mut EntryHeader, links: Links) -> Result<Links> {
|
||||||
|
|
Loading…
Reference in a new issue