summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-06-08 01:59:19 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-07-19 20:58:27 +0200
commitf6a7345b4a481109b0226471925f4266a7691f92 (patch)
tree089199a855c43b9997891db77279235f7634a01e /bin
parent9ad1c8d6bdca933732228ce1359bfab769c20c4d (diff)
Simplify: Move header verification from Value extension to Entry type
Diffstat (limited to 'bin')
-rw-r--r--bin/core/imag-store/src/verify.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/core/imag-store/src/verify.rs b/bin/core/imag-store/src/verify.rs
index 900fde0b..8fa00981 100644
--- a/bin/core/imag-store/src/verify.rs
+++ b/bin/core/imag-store/src/verify.rs
@@ -23,7 +23,6 @@ use libimagrt::runtime::Runtime;
use libimagutil::warn_exit::warn_exit;
use libimagerror::trace::MapErrTrace;
use libimagerror::iter::TraceIterator;
-use libimagstore::store::Header;
/// Verify the store.
///
@@ -41,13 +40,13 @@ pub fn verify(rt: &Runtime) {
.all(|fle| {
let p = fle.get_location();
let content_len = fle.get_content().len();
- let (header, status) = if fle.get_header().verify().is_ok() {
+ let (verify, status) = if fle.verify().is_ok() {
("ok", true)
} else {
("broken", false)
};
- info!("{: >6} | {: >14} | {:?}", header, content_len, p.deref());
+ info!("{: >6} | {: >14} | {:?}", verify, content_len, p.deref());
status
});