To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit fd05eea0 authored by Stefan Schindler's avatar Stefan Schindler
Browse files

Rename project

parent 49541163
[package]
name = "whipe_buddy"
name = "wipe_buddy"
version = "0.1.0"
authors = ["stefschi"]
......
# Project whipe_buddy
# Project wipe_buddy
Whipe thinkpad laptops with ease.
# Author
Stefan Schindler
\ No newline at end of file
Stefan Schindler
......@@ -140,9 +140,9 @@ enum DiskState {
Detected,
Protected,
QueueForWhipe,
Whiping{ progress: ByteUnit, per_second: ByteUnit },
Whiped,
WhipeFailed,
Wiping{ progress: ByteUnit, per_second: ByteUnit },
Wiped,
WipeFailed,
}
use DiskState::*;
......@@ -152,9 +152,9 @@ impl Display for DiskState {
&Detected => write!(f, "Detected"),
&Protected => write!(f, "Protected"),
&QueueForWhipe => write!(f, "Queued for Whipe"),
&Whiping { ref progress, ref per_second } => write!(f, "Whiping {} ({}/s)", progress, per_second),
&Whiped => write!(f, "Whiped successfully"),
&WhipeFailed=> write!(f, "Whipe failed"),
&Wiping { ref progress, ref per_second } => write!(f, "Whiping {} ({}/s)", progress, per_second),
&Wiped => write!(f, "Wiped successfully"),
&WipeFailed=> write!(f, "Wipe failed"),
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment