imag-link: Change dependency from libimagutil -> libimagerror

This commit is contained in:
Matthias Beyer 2016-05-16 18:59:02 +02:00
parent ea01312412
commit 93ce1dbfd2
2 changed files with 6 additions and 6 deletions

View file

@ -20,6 +20,6 @@ path = "../libimagrt"
[dependencies.libimagentrylink] [dependencies.libimagentrylink]
path = "../libimagentrylink" path = "../libimagentrylink"
[dependencies.libimagutil] [dependencies.libimagerror]
path = "../libimagutil" path = "../libimagerror"

View file

@ -23,7 +23,7 @@ extern crate url;
extern crate libimagentrylink; extern crate libimagentrylink;
extern crate libimagrt; extern crate libimagrt;
extern crate libimagstore; extern crate libimagstore;
extern crate libimagutil; extern crate libimagerror;
use std::process::exit; use std::process::exit;
use std::ops::Deref; use std::ops::Deref;
@ -33,7 +33,7 @@ use libimagstore::error::StoreError;
use libimagstore::store::Entry; use libimagstore::store::Entry;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
use libimagstore::store::Store; use libimagstore::store::Store;
use libimagutil::trace::trace_error; use libimagerror::trace::trace_error;
use libimagentrylink::external::ExternalLinker; use libimagentrylink::external::ExternalLinker;
use clap::ArgMatches; use clap::ArgMatches;
use url::Url; use url::Url;
@ -74,7 +74,7 @@ fn main() {
fn handle_internal_linking(rt: &Runtime) { fn handle_internal_linking(rt: &Runtime) {
use libimagentrylink::internal::InternalLinker; use libimagentrylink::internal::InternalLinker;
use libimagutil::trace::trace_error; use libimagerror::trace::trace_error;
debug!("Handle internal linking call"); debug!("Handle internal linking call");
let cmd = rt.cli().subcommand_matches("internal").unwrap(); let cmd = rt.cli().subcommand_matches("internal").unwrap();
@ -192,7 +192,7 @@ fn get_entry_by_name<'a>(rt: &'a Runtime, name: &str) -> Result<FileLockEntry<'a
} }
fn handle_external_linking(rt: &Runtime) { fn handle_external_linking(rt: &Runtime) {
use libimagutil::trace::trace_error; use libimagerror::trace::trace_error;
let scmd = rt.cli().subcommand_matches("external").unwrap(); let scmd = rt.cli().subcommand_matches("external").unwrap();
let entry_name = scmd.value_of("id").unwrap(); // enforced by clap let entry_name = scmd.value_of("id").unwrap(); // enforced by clap